Analysis

  • max time kernel
    145s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

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

General

  • Target

    2025-01-24_b27dac955cb9ae7d3f515d18cfdafcc7_mafia.exe

  • Size

    14.3MB

  • MD5

    b27dac955cb9ae7d3f515d18cfdafcc7

  • SHA1

    a37981b1a34a494c478d1e8e796881989793bed3

  • SHA256

    8e2a3d3ea5c46d4ec6411fe04d4014cce7859c1acdd5308f1167091770b53b3a

  • SHA512

    c582a93e4b3fcf4c700bf4478c58dd05911b92323c0d3da0a187cd6e93bc53ef318c2195274aaf23d256325401ec97037deae385b97a6bd6925d8cb47315135c

  • SSDEEP

    3072:SLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:7OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-24_b27dac955cb9ae7d3f515d18cfdafcc7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_b27dac955cb9ae7d3f515d18cfdafcc7_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ajbudfap\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1872
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sjrpzubp.exe" C:\Windows\SysWOW64\ajbudfap\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ajbudfap binPath= "C:\Windows\SysWOW64\ajbudfap\sjrpzubp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_b27dac955cb9ae7d3f515d18cfdafcc7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ajbudfap "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ajbudfap
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • 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:2744
  • C:\Windows\SysWOW64\ajbudfap\sjrpzubp.exe
    C:\Windows\SysWOW64\ajbudfap\sjrpzubp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_b27dac955cb9ae7d3f515d18cfdafcc7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2200
    • 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:2952

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.4MB

    MD5

    bf9e3969461987ba751e1cd8104054c8

    SHA1

    92f1e691dd55e2486cfebc15507a40b56f407e03

    SHA256

    93cf22f3798685c367dee4bbf73edb52473d1e19571d9e0fda7012f169782311

    SHA512

    21495707d2ff7dec300d69ff4f7149306f209252e04ae1bb04dc433d8586c4fcfd7bc564cc770f72ac92c931b1ba92a30cf5c9d13546a2fb65a0b616a66ebdf3

  • memory/2128-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    312KB

  • memory/2128-1-0x0000000000560000-0x0000000000660000-memory.dmp

    Filesize

    1024KB

  • memory/2128-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2200-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2952-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB