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
    21-01-2025 23:21

General

  • Target

    2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe

  • Size

    13.6MB

  • MD5

    de2d2486fa030da748bd90749b55beea

  • SHA1

    d439a2be1ec1b9aa7b21c37c0bf79d41c7e82794

  • SHA256

    63137cdddc2ff91ad9e6cb6a984f4f7c603d9ba3d9a8d53a84ef480beb8d806d

  • SHA512

    acf15f48ace4f71173ec7a03a6e80103eefed529709e6144cc0ce3f58b3ed7e601744e1af6bb27e235d9d53d69ca55cf60a6fbb2f37121bcf5442fc6d50173e9

  • SSDEEP

    24576:upomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttf:Coo

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_de2d2486fa030da748bd90749b55beea_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2120
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aqcpfjoy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bdwhowka.exe" C:\Windows\SysWOW64\aqcpfjoy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aqcpfjoy binPath= "C:\Windows\SysWOW64\aqcpfjoy\bdwhowka.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aqcpfjoy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aqcpfjoy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • 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\aqcpfjoy\bdwhowka.exe
    C:\Windows\SysWOW64\aqcpfjoy\bdwhowka.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2844
    • 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:2728

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.6MB

    MD5

    4e54b032b0e29f95392df81f3cf86bdb

    SHA1

    b50b5080461a0d173dd5a5e24e09ef34fd62b5d1

    SHA256

    1ce7ff5421cf72e5d7a086932b66c09a3a5f36b7c832812fef73b7437e999c05

    SHA512

    6016a598869874f62f7499906545d65997c6d473b97e5a5bc66c1128d61671bdc4958d80c08d4be2f989869641f7ed2a9a236542b0e9ca8a843729bca3650307

  • memory/2120-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/2120-15-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/2728-11-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2728-8-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2728-17-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2728-18-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    312KB