Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-01-2025 18:39

General

  • Target

    2025-01-27_6aedcabbe6c76777301c851da07c6c3c_mafia.exe

  • Size

    13.3MB

  • MD5

    6aedcabbe6c76777301c851da07c6c3c

  • SHA1

    844aaac0d4383b8df6bf5ebe266ed8b704f76bb2

  • SHA256

    df205ed8f7724b3a6a00a9fecca1aeef1077885af5a9be0a85a910920919701e

  • SHA512

    0f940b01a7d5695ad414b818cf082de7d37e36d5b715024b1fe8650f45613facfb03ca006efa0962e35fd9f47d524f2af55fc1cb350676db903bff6fe6c221ce

  • SSDEEP

    3072:RLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:UOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-27_6aedcabbe6c76777301c851da07c6c3c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_6aedcabbe6c76777301c851da07c6c3c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dqlnmwm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xxyjefdl.exe" C:\Windows\SysWOW64\dqlnmwm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dqlnmwm binPath= "C:\Windows\SysWOW64\dqlnmwm\xxyjefdl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_6aedcabbe6c76777301c851da07c6c3c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dqlnmwm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1252
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dqlnmwm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4364
    • 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:3788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4016 -s 1164
      2⤵
      • Program crash
      PID:1780
  • C:\Windows\SysWOW64\dqlnmwm\xxyjefdl.exe
    C:\Windows\SysWOW64\dqlnmwm\xxyjefdl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_6aedcabbe6c76777301c851da07c6c3c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2316
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2316 -s 512
      2⤵
      • Program crash
      PID:2828
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4016 -ip 4016
    1⤵
      PID:1656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2316 -ip 2316
      1⤵
        PID:3188

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        69c2118bb9f0335ae790a1ab0f36f75a

        SHA1

        3b3f9c755c5301f688388857c562367e172955fc

        SHA256

        0b489e9ad5b9e6b53a04643726fb0843db2e93d5b0035fd14735e02d95b2d7ed

        SHA512

        e4704e6c6b6dd812a36e48f8e000bf521ed741cdecc865bac841abc3e49e85bb627acbb9c7ea9e950c71d255873b4117250db0735cb840a1fe0a3796a413a5b6

      • memory/2316-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2316-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2316-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4016-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4016-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4016-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4016-1-0x0000000000470000-0x0000000000570000-memory.dmp

        Filesize

        1024KB

      • memory/4424-14-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/4424-16-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB

      • memory/4424-18-0x0000000000770000-0x0000000000785000-memory.dmp

        Filesize

        84KB