Analysis

  • max time kernel
    144s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    09-10-2024 14:25

General

  • Target

    2024-10-09_315506db2635d8bd616315c99537776a_mafia.exe

  • Size

    11.4MB

  • MD5

    315506db2635d8bd616315c99537776a

  • SHA1

    8ec2cd8fd34e0ea5224fa9d233dab9ae3404e22e

  • SHA256

    f7b0ab8b8145a5455631cfe76a35be69d126989c5db08e879f2b6056eb910141

  • SHA512

    4117266d0992acb28d54f5a5e66248d8829ea40b61fe4aca3964fbad600c4af7de2fac577eae665f88f736706c9c32d5cd361b3a353335f480ca5b1727f6a946

  • SSDEEP

    12288:PVbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBv:PJzXd

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.

  • 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\2024-10-09_315506db2635d8bd616315c99537776a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-10-09_315506db2635d8bd616315c99537776a_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kctrhqxx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dxxozizb.exe" C:\Windows\SysWOW64\kctrhqxx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2360
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kctrhqxx binPath= "C:\Windows\SysWOW64\kctrhqxx\dxxozizb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-10-09_315506db2635d8bd616315c99537776a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kctrhqxx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kctrhqxx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2700
    • 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:2800
  • C:\Windows\SysWOW64\kctrhqxx\dxxozizb.exe
    C:\Windows\SysWOW64\kctrhqxx\dxxozizb.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-10-09_315506db2635d8bd616315c99537776a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2740
    • 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:2252

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.7MB

    MD5

    e5a0aeeb29b2dfcbce929c0c2b77f402

    SHA1

    08eaff0b189ff4d166d6bdb51f63d927578f7279

    SHA256

    c25427b8a5fe7c36f2e86ed25cb2f0e1fb196cf0ff825509fa64354c6d825aab

    SHA512

    f8e47ec18213ef8caa5c6a987c38c0e35f7d300c65d7ff7af8cca6b82f16032670fea08ed13d7fd03a850378f682d5146b23cf68081ed1142ff29ae37198dda0

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2252-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2388-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2388-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2388-8-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2388-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2388-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/2740-17-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB