Analysis

  • max time kernel
    145s
  • max time network
    127s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-01-2025 02:59

General

  • Target

    2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe

  • Size

    10.8MB

  • MD5

    566bbb19f3c7cc564d8bc4387efba05c

  • SHA1

    7d5c801927244a0c64a164fe66f23c2c7566bee3

  • SHA256

    18a7e2c03f3ef42f3f49633f77567e9d52126bfb9d7364d3a64cecf242279583

  • SHA512

    eaac74c7a2fced2ef0237b12004949391d2b55f8922b184cdd07adc71a8e4366f368f2541c91103f0d5eb6ed3823b790c41e9ae3754c51469cbf1260d9ca8d64

  • SSDEEP

    49152:lqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:lqtYc3

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ompkainf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\easspedr.exe" C:\Windows\SysWOW64\ompkainf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ompkainf binPath= "C:\Windows\SysWOW64\ompkainf\easspedr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ompkainf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ompkainf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1748
    • 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:2152
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3448 -s 1044
      2⤵
      • Program crash
      PID:4084
  • C:\Windows\SysWOW64\ompkainf\easspedr.exe
    C:\Windows\SysWOW64\ompkainf\easspedr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_566bbb19f3c7cc564d8bc4387efba05c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1372
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1372 -s 516
      2⤵
      • Program crash
      PID:2784
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3448 -ip 3448
    1⤵
      PID:4468
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1372 -ip 1372
      1⤵
        PID:1116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        ff48fc93469fd21afda8be4905d3566f

        SHA1

        f4da635a160feabc78cd8f6963e8e1e5e8612df3

        SHA256

        98a46a77e84529f21356c4ffe85b4c85325df1b0199a29c890d751065c72e474

        SHA512

        364c15a1906655c4c14d5eec4e088f716d3dfc06e894af3bc3d6c12df7ffde5379469b0ae9992aa864028a7f86ac66950525188885674826bf7609d3b9d28a80

      • memory/1372-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2220-8-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/2220-14-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/2220-15-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/3448-1-0x0000000003060000-0x0000000003160000-memory.dmp

        Filesize

        1024KB

      • memory/3448-2-0x0000000002FF0000-0x0000000003003000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3448-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3448-12-0x0000000002FF0000-0x0000000003003000-memory.dmp

        Filesize

        76KB

      • memory/3448-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB