Analysis

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

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

General

  • Target

    2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe

  • Size

    12.4MB

  • MD5

    8c94d6b3385483ea8c78bc863da3bb6e

  • SHA1

    f45058578f354f8b9a2b64c91cdaec3354250403

  • SHA256

    520936f0d45054384bedb2f685da3b9d47c9bd989d552c856cc758d7c42b5701

  • SHA512

    aac43c83d709b547ef5720642e1cf0d9c2f8d55cb4357ce04a32e28f002133230f8ec5de8686e2e5891fb55f29d1f7584b94858258144f19df4e0f630218925b

  • SSDEEP

    49152:nqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:nqtYc3

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-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnbtrjed\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ihvxlijb.exe" C:\Windows\SysWOW64\hnbtrjed\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hnbtrjed binPath= "C:\Windows\SysWOW64\hnbtrjed\ihvxlijb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hnbtrjed "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hnbtrjed
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3160
    • 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:4952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2800 -s 580
      2⤵
      • Program crash
      PID:4656
  • C:\Windows\SysWOW64\hnbtrjed\ihvxlijb.exe
    C:\Windows\SysWOW64\hnbtrjed\ihvxlijb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_8c94d6b3385483ea8c78bc863da3bb6e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:212
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 212 -s 528
      2⤵
      • Program crash
      PID:2216
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 212 -ip 212
    1⤵
      PID:2572
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2800 -ip 2800
      1⤵
        PID:1508

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        9c1614a8f8987a793c66fff33226b5c4

        SHA1

        ac1a56f4892219630bcf007a0b9fbab6e25bd866

        SHA256

        971904d16840933ac012e864e1ebcb270b0189912c538e3bb4bcb2821eb4e1e3

        SHA512

        e0a8924e7cc439492945ef8f936faa14a101fe88282efc6fd29df663a217211ed2bd32d41070873f065ccc74cf8a6d7674ef0e918e028bcfb7debdcfe2aa18ad

      • memory/212-13-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2800-1-0x0000000002E30000-0x0000000002F30000-memory.dmp

        Filesize

        1024KB

      • memory/2800-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2800-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2800-11-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB

      • memory/3668-8-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/3668-14-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/3668-15-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB