aAura's desktopaurasec.top
我的文章GitHub
Aura Blog
aurasec.top
AuraHTB Unit42
全部文章

HTB Unit42

Sherlock Scenario

In this Sherlock, you will familiarize yourself with Sysmon logs and various useful EventIDs for identifying and analyzing malicious activities on a Windows system. Palo Alto's Unit42 recently conducted research on an UltraVNC campaign, wherein attackers utilized a backdoored version of UltraVNC to maintain access to systems. This lab is inspired by that campaign and guides participants through the initial access stage of the campaign.

To answer the questions in this lab, you will only need the Event Viewer, with VirusTotal as an optional supplement. Below are some important Sysmon Event IDs that can be utilized in your analysis:

  • Event ID 1: Process Creation/Execution. Includes process path, parent process path, and command-line arguments.
  • Event ID 2: File Creation Time Changed. Includes the file making the change, the file to which the change is being made, tampered timestamp, and original timestamp.
  • Event ID 3: Network Connection. Includes the process making the connection, destination IP Address, and port.
  • Event ID 5: Process Termination. Includes the name of the process that was killed or terminated itself.
  • Event ID 11: File Created. Includes the process creating the file, the file being created, and its full path.
  • Event ID 22: DNS Query. Includes the process querying the domain, the target domain name, and the IP Addresses they resolve to.

Artifacts Provided

unit42.zip: A ZIP file with SHA1 hash: 1D8AC45395551187EAF23793CE525056C4136D6E.

Q1

How many Event logs are there with Event ID 11?

筛选一下,总共56个

56

Q2

Whenever a process is created in memory, an event with Event ID 1 is recorded with details such as command line, hashes, process path, parent process path, etc. This information is very useful for an analyst because it allows us to see all programs executed on a system, which means we can spot any malicious processes being executed. What is the malicious process that infected the victim's system?

发现有下载目录中的程序被执行了,大概率就是这个,其他都是很正常的系统程序等。

C:\Users\CyberJunkie\Downloads\Preventivo24.02.14.exe.exe

Q3

Which Cloud drive was used to distribute the malware?

在事件ID 22附近找一下,发现用到了 dropbox

dropbox

Q4

For many of the files it wrote to disk, the initial malicious file used a defense evasion technique called Time Stomping, where the file creation date is changed to make it appear older and blend in with other files. What was the timestamp changed to for the PDF file?

过滤事件 ID 2,看看文件创建时间被修改的详情信息 题目问的是 pdf 的创建时间被修改的事件,那就是这个

2024-01-14 08:10:06

Q5

The malicious file dropped a few files on disk. Where was "once.cmd" created on disk? Please answer with the full path along with the filename.

直接搜索就可以搜到

C:\Users\CyberJunkie\AppData\Roaming\Photo and Fax Vn\Photo and vn 1.1.2\install\F97891C\WindowsVolume\Games\once.cmd

Q6

The malicious file attempted to reach a dummy domain, most likely to check the internet connection status. What domain name did it try to connect to?

过滤事件 ID 3,看一下恶意程序的网络连接行为 发现目的 ip 是 93.184.216.34,再去过滤事件 ID 22,看一下这个 ip 对应的域名是什么。

www.example.com

Q7

Which IP address did the malicious process try to reach out to?

上一问已经拿到了

93.184.216.34

Q8

The malicious process terminated itself after infecting the PC with a backdoored variant of UltraVNC. When did the process terminate itself?

过滤事件 ID 5,查看进程终止的相关信息

2024-02-14 03:41:58

全文完

中

搜索文章

输入关键词搜索文章。