Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    15-01-2025 19:04

General

  • Target

    2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe

  • Size

    11.4MB

  • MD5

    a4472f9906d22488791d8b513663ba12

  • SHA1

    e49d5755dc9c6edeb25ee9198ca43f849a750bc0

  • SHA256

    eea5783e34bf11bf604738c01add12403b0d73c324f5b145add17f62c5c2991a

  • SHA512

    3ec1675be1c941f66a33a37de1be738f29ca608cd739d02036da25071177e1a45b73d3d76854929b6f90386211650b274099bbdda004c1d1f06250e52ef24716

  • SSDEEP

    6144:tLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ:+TYe+D2jFu+iZoUFhAz

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-15_a4472f9906d22488791d8b513663ba12_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2936
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tzrmhqnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ezdvlwyw.exe" C:\Windows\SysWOW64\tzrmhqnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tzrmhqnn binPath= "C:\Windows\SysWOW64\tzrmhqnn\ezdvlwyw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tzrmhqnn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tzrmhqnn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2572
    • 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:2652
  • C:\Windows\SysWOW64\tzrmhqnn\ezdvlwyw.exe
    C:\Windows\SysWOW64\tzrmhqnn\ezdvlwyw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_a4472f9906d22488791d8b513663ba12_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2604
    • 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:3016

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.6MB

    MD5

    29f3585d9260d749255f000a5606a59a

    SHA1

    d7607e6da036975ba242320436b1150d4eec2444

    SHA256

    ec181835a2f616a354e8c8e4b9610e57acab521e9c0c7e2b9654d2b659d0f938

    SHA512

    ce4bd5341e6d525c86d12c1e3af03512d64eb38b8aad6d8033bc2678730195607816e44815790d48242e5abb9770bb8370adc74fe77b5673fc3d7b2954a97f61

  • memory/2604-15-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2936-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2936-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2936-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2936-1-0x0000000000600000-0x0000000000700000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB