Analysis

  • max time kernel
    148s
  • max time network
    127s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    21-01-2025 01:56

General

  • Target

    2025-01-21_9a14a0443a32965ebd6da88df49e252d_mafia.exe

  • Size

    14.0MB

  • MD5

    9a14a0443a32965ebd6da88df49e252d

  • SHA1

    711984700b258d24d91a47ca17e36ef2cda4c4e3

  • SHA256

    1afd64976f77dac3e5ea4be9921ee865d7ed13fabb7a1c9294b330f37b920554

  • SHA512

    032eda656029d5912e9ffb03b4922c85395a28ddafcc3f5d0b3071ec58029cf02536dddc897f3ed7e0e39f76efc1a4345d4792a20c17d2b78e75e94b82851a3a

  • SSDEEP

    49152:0qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:0qtYc3

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-21_9a14a0443a32965ebd6da88df49e252d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_9a14a0443a32965ebd6da88df49e252d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dshlfuos\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ulhofeim.exe" C:\Windows\SysWOW64\dshlfuos\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dshlfuos binPath= "C:\Windows\SysWOW64\dshlfuos\ulhofeim.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_9a14a0443a32965ebd6da88df49e252d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dshlfuos "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dshlfuos
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2756
  • C:\Windows\SysWOW64\dshlfuos\ulhofeim.exe
    C:\Windows\SysWOW64\dshlfuos\ulhofeim.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_9a14a0443a32965ebd6da88df49e252d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2436
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2244

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\ulhofeim.exe

    Filesize

    10.0MB

    MD5

    389ff0e4c7bd0a9baa47da365143b689

    SHA1

    069aa425c9d486aca0b8db2844be12b512fff98b

    SHA256

    87cc00e5268936aa8eca390831fbbe0993c2aefcd4a89f8a1cdc96560fc7a4e4

    SHA512

    5b8698ae2b9304cba6cdc4f6412cce713d6eb76e11d18e2f2c2a1cb88c4883a8b225309f0846f06072d0c41aaba487457a9d8fb699348e09d9d280e3b2b8f643

  • memory/1104-7-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

  • memory/1104-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1104-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1104-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1104-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1104-1-0x0000000002EA0000-0x0000000002FA0000-memory.dmp

    Filesize

    1024KB

  • memory/2244-14-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2244-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2244-11-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2244-17-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2244-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2436-15-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB