Analysis

  • max time kernel
    150s
  • max time network
    151s
  • 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:38

General

  • Target

    2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe

  • Size

    11.8MB

  • MD5

    24bd85cfd4f367380324d69d46805978

  • SHA1

    9ae1e14cd3733e22bf9be7f9fb8dc06ec4425abc

  • SHA256

    12b0178d8d6ad98ac457790240a3c04c3b74d3b47876ab525cfcf8c0cfcfd930

  • SHA512

    473902b4699dbc65d9d501f2cf3241223f039116a74dd66ea9203d4330f876956c6aa70fbaf8a00d0190e28c32dd4a00e37f0da952b6d55d0a07271d2e17b289

  • SSDEEP

    3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:ROMdRQr7OB0ypmMXnl8XEPM3noSWOC

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_24bd85cfd4f367380324d69d46805978_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zupfhyju\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4676
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jiwymjkc.exe" C:\Windows\SysWOW64\zupfhyju\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zupfhyju binPath= "C:\Windows\SysWOW64\zupfhyju\jiwymjkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zupfhyju "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zupfhyju
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4680
    • 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:3008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4480 -s 1220
      2⤵
      • Program crash
      PID:2552
  • C:\Windows\SysWOW64\zupfhyju\jiwymjkc.exe
    C:\Windows\SysWOW64\zupfhyju\jiwymjkc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_24bd85cfd4f367380324d69d46805978_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1508
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1508 -s 556
      2⤵
      • Program crash
      PID:4064
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4480 -ip 4480
    1⤵
      PID:4940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1508 -ip 1508
      1⤵
        PID:2388

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        cd3e9b867563fc187f8a3fbb1b0c62c8

        SHA1

        0f8a771dd11eb4e55a009f8f83afe15635b36639

        SHA256

        8119351bcb0fed28ae2691ac2d850ef94fd34de9ff0149d39111594be9787443

        SHA512

        3006b40b427f13cb2ebb1263f700e7ffaeb68cc689bdd676e72f6e34bf0a1556154c4302f014547276ba1c25159fd067192b5b993480bfd3c3c63b370a8371ba

      • memory/756-14-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

      • memory/756-17-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

      • memory/756-16-0x0000000000A90000-0x0000000000AA5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1508-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4480-8-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/4480-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4480-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB