Analysis

  • max time kernel
    142s
  • 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
    13-01-2025 18:55

General

  • Target

    2025-01-13_1208d7a1a0f70a2cf91984531c508143_mafia.exe

  • Size

    14.4MB

  • MD5

    1208d7a1a0f70a2cf91984531c508143

  • SHA1

    48acca92982ec96ba1922a5bd1438a6c8f9de56e

  • SHA256

    f782b32ad2083a329aabc59d2b775cad1dcc04b36c553c516337b5058285a142

  • SHA512

    255e6c6c1db59bf6699c492ef48bc9edcad279db0e201b56611e99dba560ee8fac7c285f6ddadc28f2e3b914f1a35efb93c94d530f4c2285671f11551e306f9a

  • SSDEEP

    24576:CEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ/:bfot

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-13_1208d7a1a0f70a2cf91984531c508143_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_1208d7a1a0f70a2cf91984531c508143_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dyrnvnpr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mlzbpmnf.exe" C:\Windows\SysWOW64\dyrnvnpr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dyrnvnpr binPath= "C:\Windows\SysWOW64\dyrnvnpr\mlzbpmnf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_1208d7a1a0f70a2cf91984531c508143_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dyrnvnpr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dyrnvnpr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5064
    • 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:3684
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4836 -s 660
      2⤵
      • Program crash
      PID:3612
  • C:\Windows\SysWOW64\dyrnvnpr\mlzbpmnf.exe
    C:\Windows\SysWOW64\dyrnvnpr\mlzbpmnf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_1208d7a1a0f70a2cf91984531c508143_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1992 -s 556
      2⤵
      • Program crash
      PID:2272
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4836 -ip 4836
    1⤵
      PID:2816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1992 -ip 1992
      1⤵
        PID:1612

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        d5cb51134bcc8ec18c5ede1a44926e50

        SHA1

        3eeb0c74256ce8f8b6c59c81b11aa57b0ea4042b

        SHA256

        836f28b103e5ea4d7f80084a15bd19c1af35e9665500e3e9bea419559385311e

        SHA512

        fac408004ecc5de751dc6ad6f0db13292074c2f9f1edd488bf99e9028c6b92ff00463c314279d85997c1f4d87d98f593c61168eacd7201031fc03db971bb73a7

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3596-14-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/3596-16-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/3596-17-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4836-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4836-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/4836-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB