Resubmissions

10-09-2024 01:42

240910-b4w7ksseng 10

10-09-2024 01:28

240910-bvqy7szgnp 8

General

  • Target

    hwid-grabber.exe

  • Size

    165KB

  • Sample

    240910-b4w7ksseng

  • MD5

    e80e0a0a2310796a56c7ec9aa9fda999

  • SHA1

    ea9fedb56b4d0a4d71debfd6e4bbeff4cdf05ad5

  • SHA256

    c5f7ea90bf652239c9de92ab63e2d04a48b29af08ca5e2218996abc7c0840bec

  • SHA512

    7355085c43ed964c9517d9e15b33a4ff05a50fad50c9163b0a1b9b6d0e4bdc4a20ecb1940af60fe19fe4d193b195dfc3ae09a6e27e166f78d27666cde35b4224

  • SSDEEP

    3072:mFWMEe4i9C8rFgfM/BlTz88R/QofipPD+HjDBsueD55qro5iz6:mAMEeBc8BgfMJB8Y/ipCD9suC5l

Malware Config

Extracted

Family

danabot

C2

51.178.195.151

51.222.39.81

149.255.35.125

38.68.50.179

51.77.7.204

rsa_pubkey.plain

Targets

    • Target

      hwid-grabber.exe

    • Size

      165KB

    • MD5

      e80e0a0a2310796a56c7ec9aa9fda999

    • SHA1

      ea9fedb56b4d0a4d71debfd6e4bbeff4cdf05ad5

    • SHA256

      c5f7ea90bf652239c9de92ab63e2d04a48b29af08ca5e2218996abc7c0840bec

    • SHA512

      7355085c43ed964c9517d9e15b33a4ff05a50fad50c9163b0a1b9b6d0e4bdc4a20ecb1940af60fe19fe4d193b195dfc3ae09a6e27e166f78d27666cde35b4224

    • SSDEEP

      3072:mFWMEe4i9C8rFgfM/BlTz88R/QofipPD+HjDBsueD55qro5iz6:mAMEeBc8BgfMJB8Y/ipCD9suC5l

    • Adds autorun key to be loaded by Explorer.exe on startup

    • Azorult

      An information stealer that was first discovered in 2016, targeting browsing history and passwords.

    • Danabot

      Danabot is a modular banking Trojan that has been linked with other malware.

    • Lokibot

      Lokibot is a Password and CryptoCoin Wallet Stealer.

    • Modifies WinLogon for persistence

    • Modifies Windows Defender Real-time Protection settings

    • Modifies firewall policy service

    • Modifies security service

    • Modifies visiblity of hidden/system files in Explorer

    • RMS

      Remote Manipulator System (RMS) is a remote access tool developed by Russian organization TektonIT.

    • UAC bypass

    • Windows security bypass

    • Credentials from Password Stores: Credentials from Web Browsers

      Malicious Access or copy of Web Browser Credential store.

    • Grants admin privileges

      Uses net.exe to modify the user's privileges.

    • Remote Service Session Hijacking: RDP Hijacking

      Adversaries may hijack a legitimate user's remote desktop session to move laterally within an environment.

    • Adds policy Run key to start application

    • Blocklisted process makes network request

    • Blocks application from running via registry modification

      Adds application to list of disallowed applications.

    • Boot or Logon Autostart Execution: Active Setup

      Adversaries may achieve persistence by adding a Registry key to the Active Setup of the local machine.

    • Boot or Logon Autostart Execution: Port Monitors

      Adversaries may use port monitors to run an adversary supplied DLL during system boot for persistence or privilege escalation.

    • Downloads MZ/PE file

    • Drops file in Drivers directory

    • Event Triggered Execution: Image File Execution Options Injection

    • Manipulates Digital Signatures

      Attackers can apply techniques such as changing the registry keys of authenticode & Cryptography to obtain their binary as valid.

    • Modifies Windows Firewall

    • Server Software Component: Terminal Services DLL

    • Sets file to hidden

      Modifies file attributes to stop it showing in Explorer etc.

    • Stops running service(s)

    • Boot or Logon Autostart Execution: Print Processors

      Adversaries may abuse print processors to run malicious DLLs during system boot for persistence and/or privilege escalation.

    • Checks computer location settings

      Looks up country code configured in the registry, likely geofence.

    • Executes dropped EXE

    • Impair Defenses: Safe Mode Boot

    • Loads dropped DLL

    • Modifies file permissions

    • Modifies system executable filetype association

    • Obfuscated with Agile.Net obfuscator

      Detects use of the Agile.Net commercial obfuscator, which is capable of entity renaming and control flow obfuscation.

    • Reads user/profile data of web browsers

      Infostealers often target stored browser data, which can include saved credentials etc.

    • UPX packed file

      Detects executables packed with UPX/modified UPX open source packer.

    • Accesses Microsoft Outlook profiles

    • Adds Run key to start application

    • Command and Scripting Interpreter: PowerShell

      Using powershell.exe command.

    • Enumerates connected drives

      Attempts to read the root path of hard drives other than the default C: drive.

    • Indicator Removal: Clear Persistence

      remove IFEO.

    • Installs/modifies Browser Helper Object

      BHOs are DLL modules which act as plugins for Internet Explorer.

    • Legitimate hosting services abused for malware hosting/C2

    • Looks up external IP address via web service

      Uses a legitimate IP lookup service to find the infected system's external IP.

    • Maps connected drives based on registry

      Disk information is often read in order to detect sandboxing environments.

    • Modifies WinLogon

    • Password Policy Discovery

      Attempt to access detailed information about the password policy used within an enterprise network.

    • Writes to the Master Boot Record (MBR)

      Bootkits write to the MBR to gain persistence at a level below the operating system.

    • AutoIT Executable

      AutoIT scripts compiled to PE executables.

    • Drops autorun.inf file

      Malware can abuse Windows Autorun to spread further via attached volumes.

    • Drops file in System32 directory

    • Hide Artifacts: Hidden Users

    • Suspicious use of SetThreadContext

MITRE ATT&CK Matrix ATT&CK v13

Initial Access

Replication Through Removable Media

1
T1091

Execution

System Services

1
T1569

Service Execution

1
T1569.002

Command and Scripting Interpreter

2
T1059

PowerShell

1
T1059.001

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Persistence

Boot or Logon Autostart Execution

8
T1547

Registry Run Keys / Startup Folder

3
T1547.001

Winlogon Helper DLL

2
T1547.004

Port Monitors

1
T1547.010

Print Processors

1
T1547.012

Active Setup

1
T1547.014

Create or Modify System Process

5
T1543

Windows Service

5
T1543.003

Account Manipulation

1
T1098

Event Triggered Execution

3
T1546

Change Default File Association

1
T1546.001

Netsh Helper DLL

1
T1546.007

Image File Execution Options Injection

1
T1546.012

Server Software Component

1
T1505

Terminal Services DLL

1
T1505.005

Browser Extensions

1
T1176

Pre-OS Boot

1
T1542

Bootkit

1
T1542.003

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Privilege Escalation

Boot or Logon Autostart Execution

8
T1547

Registry Run Keys / Startup Folder

3
T1547.001

Winlogon Helper DLL

2
T1547.004

Port Monitors

1
T1547.010

Print Processors

1
T1547.012

Active Setup

1
T1547.014

Create or Modify System Process

5
T1543

Windows Service

5
T1543.003

Abuse Elevation Control Mechanism

1
T1548

Bypass User Account Control

1
T1548.002

Event Triggered Execution

3
T1546

Change Default File Association

1
T1546.001

Netsh Helper DLL

1
T1546.007

Image File Execution Options Injection

1
T1546.012

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Defense Evasion

Modify Registry

17
T1112

Impair Defenses

7
T1562

Disable or Modify Tools

3
T1562.001

Disable or Modify System Firewall

2
T1562.004

Safe Mode Boot

1
T1562.009

Hide Artifacts

4
T1564

Hidden Files and Directories

3
T1564.001

Hidden Users

1
T1564.002

Abuse Elevation Control Mechanism

1
T1548

Bypass User Account Control

1
T1548.002

Subvert Trust Controls

1
T1553

SIP and Trust Provider Hijacking

1
T1553.003

File and Directory Permissions Modification

1
T1222

Indicator Removal

1
T1070

Clear Persistence

1
T1070.009

Pre-OS Boot

1
T1542

Bootkit

1
T1542.003

Credential Access

Credentials from Password Stores

1
T1555

Credentials from Web Browsers

1
T1555.003

Unsecured Credentials

1
T1552

Credentials In Files

1
T1552.001

Discovery

Query Registry

6
T1012

System Information Discovery

8
T1082

Peripheral Device Discovery

3
T1120

Password Policy Discovery

1
T1201

Browser Information Discovery

1
T1217

Permission Groups Discovery

1
T1069

Local Groups

1
T1069.001

System Location Discovery

1
T1614

System Language Discovery

1
T1614.001

Lateral Movement

Remote Service Session Hijacking

1
T1563

RDP Hijacking

1
T1563.002

Replication Through Removable Media

1
T1091

Collection

Data from Local System

1
T1005

Email Collection

1
T1114

Command and Control

Web Service

1
T1102

Impact

Service Stop

1
T1489

Tasks