# l337 S4uc3

01\. PCAP: Development.wse.local is a critical asset for the Wayne and Stark Enterprises, where the company stores new top-secret designs on weapons. Jon Smith has access to the website and we believe it may have been compromised, according to the IDS alert we received earlier today. First, determine the Public IP Address of the webserver?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2F73RIQPVCg9p6gKlq6x9s%2FScreenshot%20from%202022-01-28%2019-11-43.png?alt=media\&token=e0d004d0-2b22-4736-8fc6-6dff5d813faa)

02\. PCAP: Alright, now we need you to determine a starting point for the timeline that will be useful in mapping out the incident. Please determine the arrival time of frame 1 in the "GrrCON.pcapng" evidence file.

Here is a link to convert your time <https://www.epochconverter.com/>

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FQkmeKs4PC60n3ntpHpDB%2FScreenshot%20from%202022-01-28%2019-18-18.png?alt=media\&token=b61e0a1c-57b1-45a5-a15c-cb315fbb2095)

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FQnlk3QUbVojojTts4ZMy%2FScreenshot%20from%202022-01-28%2019-18-43.png?alt=media\&token=e04aa934-b040-438a-bf86-e0e37491890d)

03\. PCAP: What version number of PHP is the development.wse.local server running?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FhaWhpdslSCewZrRrgCuV%2FScreenshot%20from%202022-01-28%2010-15-29.png?alt=media\&token=4b028ec4-9ed9-4d86-882a-3a6dfbf39c64)

04\. PCAP: What version number of Apache is the development.wse.local web server using?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2F88Ry8HsuH0BS90TrBAQB%2FScreenshot%20from%202022-01-28%2010-16-26.png?alt=media\&token=5077ce8d-fbdb-4d74-9539-a4552c6c10f2)

05\. IR: What is the common name of the malware reported by the IDS alert provided?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FvV03szISf20dJqnopmfK%2FScreenshot%20from%202022-01-28%2010-18-20.png?alt=media\&token=7e2c086c-d5dc-4f8a-a65a-a392b9b90251)

06\. PCAP: Please identify the Gateway IP address of the LAN because the infrastructure team reported a potential problem with the IDS server that could have corrupted the PCAP

```bash
172.16.0.1
```

07\. IR: According to the IDS alert, the Zeus bot attempted to ping an external website to verify connectivity. What was the IP address of the website pinged?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FJWsHWIqITGEIOudmzR1G%2FScreenshot%20from%202022-01-28%2010-21-05.png?alt=media\&token=b4e24f85-7d05-4f63-88db-08444541f94a)

08\. PCAP: It’s critical to the infrastructure team to identify the Zeus Bot CNC server IP address so they can block communication in the firewall as soon as possible. Please provide the IP address?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FWyp9aEXjaH7Y4ETEHadh%2FScreenshot%20from%202022-01-28%2010-24-16.png?alt=media\&token=23f3cbd6-ca39-4a91-afc8-3c97ef01f96a)

09\. PCAP: The infrastructure team also requests that you identify the filename of the “.bin” configuration file that the Zeus bot downloaded right after the infection. Please provide the file name?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FqIsj9L2QgBJI12ANnVnH%2FScreenshot%20from%202022-01-28%2010-25-19.png?alt=media\&token=6c29f4e9-7ced-4adf-bf37-b48b062d1e7c)

10\. PCAP: No other users accessed the development.wse.local WordPress site during the timeline of the incident and the reports indicate that an account successfully logged in from the external interface. Please provide the password they used to log in to the WordPress page around 6:59 PM EST?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FdsKIhO1rgut2UMqRxIaM%2FScreenshot%20from%202022-01-28%2010-29-24.png?alt=media\&token=d5301049-8e51-40fe-8d52-57b54882299e)

11\. PCAP: After reporting that the WordPress page was indeed accessed from an external connection, your boss comes to you in a rage over the potential loss of confidential top-secret documents. He calms down enough to admit that the design's page has a separate access code outside to ensure the security of their information. Before storming off he provided the password to the designs page “1qBeJ2Az” and told you to find a timestamp of the access time or you will be fired. Please provide the time of the accessed Designs page?

Change pcapng to pcap:

```bash
$ editcap -F libpcap file.pcapng file.pcap
```

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2F0cDk032NvlB1JoqBbp83%2FScreenshot%20from%202022-01-28%2010-43-43.png?alt=media\&token=64aae082-ea98-4e1a-ae28-c0f8b0942fd6)

12\. PCAP: What is the source port number in the shellcode exploit? Dest Port was 31708 IDS Signature GPL SHELLCODE x86 inc ebx NOOP

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FR3UAVdLpN7LW5ayx5vul%2FScreenshot%20from%202022-01-28%2010-46-53.png?alt=media\&token=8fe4493d-3cd5-408e-b484-1796830b04b8)

13\. PCAP: What was the Linux kernel version returned from the meterpreter sysinfo command run by the attacker?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FjY4Bc4BFOxEjVwDRcdK3%2FScreenshot%20from%202022-01-28%2010-54-10.png?alt=media\&token=3972a8f3-4def-4acb-a10b-4f8d238656de)

14\. PCAP: What is the value of the token passed in frame 3897?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2F2vw2sgAsbHwpQ6lOxkb6%2FScreenshot%20from%202022-01-28%2010-58-10.png?alt=media\&token=a6eb7ffe-7700-442b-ae59-8802e02d7036)

15\. PCAP: What was the tool that was used to download a compressed file from the webserver?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2F0YPmYs4x2BcjN4JenWTd%2FScreenshot%20from%202022-01-28%2011-02-33.png?alt=media\&token=a4dd174b-c4b3-4a7e-92af-de27f872ad08)

16\. PCAP: What is the download file name the user launched the Zeus bot?

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2F4BbN7o40HCMbVu31idKP%2FScreenshot%20from%202022-01-28%2011-04-49.png?alt=media\&token=9b7735d6-416e-4af5-91cf-f9e8a4bd3697)

17\. Memory: What is the full file path of the system shell spawned through the attacker's meterpreter session?

Firstly, you need to import volatility profile from given file. Create .zip file with these 2 files and copy .zip file to /volatility/volatility/plugins/overlays/linux. And then check with `python2 volatility/vol.py --info`. You will see this profile.

```bash
python volatility/vol.py -f Ubuntu10-4/webserver.vmss --profile=LinuxLinuxDFIRwebsvrx64x64 linux_pslist

..apache2            1040            33             
..apache2            1042            33             
...sh                1274            33             
....sh               1275            33             
```

18\. Memory: What is the Parent Process ID of the two 'sh' sessions?

```bash
1042
```

19\. Memory: What is the latency\_record\_count for PID 1274?

```bash
0
```

20\. Memory: For the PID 1274, what is the first mapped file path?

```bash
python volatility/vol.py -f Ubuntu10-4/webserver.vmss --profile=LinuxLinuxDFIRwebsvrx64x64 linux_proc_maps -p 1274
```

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2FkZsIstlc2F8Dd9LIGYSD%2FScreenshot%20from%202022-01-28%2019-04-21.png?alt=media\&token=d13a1b19-587a-4c9c-ac85-90de5a74ecf4)

21\. Memory:What is the md5hash of the receive.1105.3 file out of the per-process packet queue?

```bash
python volatility/vol.py -f Ubuntu10-4/webserver.vmss --profile=LinuxLinuxDFIRwebsvrx64x64 linux_pkt_queues -D result
```

![](https://3195204546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYnmgM84K6waQFS6qE5%2Fuploads%2F5qzFmSXpZSmsnRYTNLwd%2FScreenshot%20from%202022-01-28%2019-07-57.png?alt=media\&token=abca97ea-dd35-4843-b9b0-eae03165bb14)
