Analysis

  • max time kernel
    146s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-01-2025 09:28

General

  • Target

    2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe

  • Size

    12.2MB

  • MD5

    a9343ac4629f6571ded4698ac1b1701c

  • SHA1

    2e82080cb3f51d9ac04f4740c2bc97123588b936

  • SHA256

    d7aff3bd4f728633f95b10819fd19809f9ebb5dba0e989db424a1e1a972d7ee3

  • SHA512

    cc7e1872797d4de49d47c3e0b3d9e59ad56aa68f077b2046452d9f161b2bae5f902b511461daa19243b7c0f7dcdfb985dfb6b4e39263431cb11e61561bac94af

  • SSDEEP

    6144:fLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:ETYe+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
  • 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-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2340
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dnpexbz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2276
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sbvasrmi.exe" C:\Windows\SysWOW64\dnpexbz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2416
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dnpexbz binPath= "C:\Windows\SysWOW64\dnpexbz\sbvasrmi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dnpexbz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dnpexbz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • 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:2768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2340 -s 1040
      2⤵
      • Program crash
      PID:3096
  • C:\Windows\SysWOW64\dnpexbz\sbvasrmi.exe
    C:\Windows\SysWOW64\dnpexbz\sbvasrmi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1140
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1796
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1140 -s 532
      2⤵
      • Program crash
      PID:3012
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2340 -ip 2340
    1⤵
      PID:3624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1140 -ip 1140
      1⤵
        PID:4292

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        bd03ed28209f5f43abf9928a911fe0ec

        SHA1

        77a8fa321b113a57284e46a8f641ace5de4693cb

        SHA256

        a82d76c13e4bb43b12ec0dbd1d8f9004e799f025d701a2a6859f7e59dc85f910

        SHA512

        fb9a0669d05ed2d719b1fd67289d4b25e29de14d0fe88be1089e0fd5dcbdac9118f5a5203796da89f252e00282994399bcbbf32f1bcf69c26c4bff85dd85e939

      • memory/1140-14-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1140-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1796-12-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1796-9-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1796-18-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1796-19-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/1796-20-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2340-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

      • memory/2340-2-0x0000000000910000-0x0000000000923000-memory.dmp

        Filesize

        76KB

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

        Filesize

        772KB

      • memory/2340-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2340-16-0x0000000000910000-0x0000000000923000-memory.dmp

        Filesize

        76KB