Analysis

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

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

General

  • Target

    2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe

  • Size

    13.2MB

  • MD5

    02577feabbae5a6cced18fe55be24b83

  • SHA1

    375768302cfbf7082178ba7f02cb1589d4c52667

  • SHA256

    ddf834663f80601bbcb921d17ef5904d405a28ff68fbf21ce521794c0f4a34f4

  • SHA512

    77c634c4b339387c0c16bc69f3c49dc1b2fbae3bc1a2ef78153d2b316710f285345692b646a9da1f0e6da7c7f8d33c421134a8b6cfefca7c239f74ffbaf025e8

  • SSDEEP

    49152:oqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:oqtYc3

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-17_02577feabbae5a6cced18fe55be24b83_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qizfjrdn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3936
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kmhngtd.exe" C:\Windows\SysWOW64\qizfjrdn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qizfjrdn binPath= "C:\Windows\SysWOW64\qizfjrdn\kmhngtd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qizfjrdn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qizfjrdn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4132
    • 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:1076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3520 -s 1224
      2⤵
      • Program crash
      PID:960
  • C:\Windows\SysWOW64\qizfjrdn\kmhngtd.exe
    C:\Windows\SysWOW64\qizfjrdn\kmhngtd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-17_02577feabbae5a6cced18fe55be24b83_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:764
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 764 -s 508
      2⤵
      • Program crash
      PID:2308
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 764 -ip 764
    1⤵
      PID:1208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3520 -ip 3520
      1⤵
        PID:2508

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        a99b4f7b2c1824bbec9d201a4cc1a06b

        SHA1

        74d7d6d6b6de6031080d3bebd89b31d74a2297f2

        SHA256

        c70da94750371c2dcb1d02468a6ce3b05e6df1bc660a8133b082d9e7d0415e12

        SHA512

        cd4e5ab0885e7c1e4d86ac1e3b96d93bbedda5a131e2b5731e3131a14502c9c5c9fbfaf3ab745efc5530b8b87145025f162b4c70e69a3153374a375e260bf6b4

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

        Filesize

        41.8MB

      • memory/856-8-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

        Filesize

        84KB

      • memory/856-14-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

        Filesize

        84KB

      • memory/856-15-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

        Filesize

        84KB

      • memory/3520-1-0x0000000003050000-0x0000000003150000-memory.dmp

        Filesize

        1024KB

      • memory/3520-2-0x0000000002E20000-0x0000000002E33000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3520-12-0x0000000002E20000-0x0000000002E33000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB