Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-02-2025 08:42

General

  • Target

    2025-02-04_1a821c79b1db287d1949eca62a75f5f4_mafia.exe

  • Size

    10.1MB

  • MD5

    1a821c79b1db287d1949eca62a75f5f4

  • SHA1

    d9f36db1c8661263c3c7353ab4a3827905b3febb

  • SHA256

    6b7dac036e7c0230178bd92e96534c68b38c47ab3fbf9d7137ba1836c0941443

  • SHA512

    ae45b3e9ee6b1731c4dd27e17781d9333fe2273b531628d4f602f39dbd14b19b99cdd53ab053da4a92f55138bb5ef89925167552ca4f1d23c2fa2884a54908bc

  • SSDEEP

    24576:0EfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ1:Rfot

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-02-04_1a821c79b1db287d1949eca62a75f5f4_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-04_1a821c79b1db287d1949eca62a75f5f4_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mcmtmjve\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jeiaqbdb.exe" C:\Windows\SysWOW64\mcmtmjve\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mcmtmjve binPath= "C:\Windows\SysWOW64\mcmtmjve\jeiaqbdb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-04_1a821c79b1db287d1949eca62a75f5f4_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mcmtmjve "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mcmtmjve
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3672
    • 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:2280
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2104 -s 1028
      2⤵
      • Program crash
      PID:1316
  • C:\Windows\SysWOW64\mcmtmjve\jeiaqbdb.exe
    C:\Windows\SysWOW64\mcmtmjve\jeiaqbdb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-04_1a821c79b1db287d1949eca62a75f5f4_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3696
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1288
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3696 -s 528
      2⤵
      • Program crash
      PID:4952
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2104 -ip 2104
    1⤵
      PID:2988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 3696 -ip 3696
      1⤵
        PID:640

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        e4024f7392686e1bf44a86902aeea5e5

        SHA1

        a40dde8f0cab225c453563ed23dc07b811c537e5

        SHA256

        0dcc18843b5168275a859f108b5e2fb91d1f13b5ae15abffa2b5c1b45fecce0a

        SHA512

        a016df495e7d98e9467dc90c98e9497c962bf1a9f2063b1f1b3f8274c8b00535edae4367c472e741c1f2a848f3957e11dc667cadc3fdc6c5da9509343fff1aa7

      • memory/1288-14-0x0000000000650000-0x0000000000665000-memory.dmp

        Filesize

        84KB

      • memory/1288-17-0x0000000000650000-0x0000000000665000-memory.dmp

        Filesize

        84KB

      • memory/1288-16-0x0000000000650000-0x0000000000665000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/2104-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2104-1-0x0000000000700000-0x0000000000800000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2104-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB