Analysis

  • max time kernel
    146s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    27-01-2025 11:07

General

  • Target

    2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe

  • Size

    14.9MB

  • MD5

    b6c4b7d510df5fadfb81ebb1348f930f

  • SHA1

    38db2673c1136571266d4c399205660bc13f5c9d

  • SHA256

    593365bbf1e3ac18c9b361d89c8d80471e90bc0606ccd0a02342b56b0129aee3

  • SHA512

    508ab1a9f384d77c9d80703e9966cc08e353ace669f84f72c74e49942a8bef94221f835d3ed04ebbf60930d68b3a8d7a4c523e1a44fd7bc391e86b15cadc703b

  • SSDEEP

    3072:sLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:JOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eexvozwv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pgomwrym.exe" C:\Windows\SysWOW64\eexvozwv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eexvozwv binPath= "C:\Windows\SysWOW64\eexvozwv\pgomwrym.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eexvozwv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eexvozwv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2332
    • 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:2936
  • C:\Windows\SysWOW64\eexvozwv\pgomwrym.exe
    C:\Windows\SysWOW64\eexvozwv\pgomwrym.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2860
    • 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:2724

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.6MB

    MD5

    4f9d7d3b174f52ccc62f9d433049e58a

    SHA1

    d7d244d1fa6ec7edd1d0fed17443486a451bf55e

    SHA256

    e9fdd4c81468b6636cb8c6662d383be7152f5f6559d51ae37434cf4e1c6bea5d

    SHA512

    422099db8f0adf16faadd50f90c7aa183b1dd3c082ed50ee21a38b22648efe3c8ea381f3869b30a09188154416f56ecf59ef36d79f3e23859a2c718a821173db

  • memory/1704-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

  • memory/1704-3-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/1704-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1704-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1704-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2724-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2724-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2724-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2724-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2724-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2860-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB