Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 05:51

General

  • Target

    2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe

  • Size

    13.3MB

  • MD5

    4e841177032768bf943fe6146883b0a6

  • SHA1

    ee2624d773be4d52f0203218ee96ab716d72930c

  • SHA256

    45d151f9dfbe922d2783ae25abba72cccd65b388388ff870168b4bc2f2dadb20

  • SHA512

    3c995f2b739d321af4e938c672f4bf4f1b563582bd2b7601a712c61ee93ea547de1d2067be17dac039fbb5da25abff053fff7fd25b1430ddaf22a15b8cba4c5d

  • SSDEEP

    3072:RLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/K:UOMdRQr7OB0ypmMXnl8XEPM3noSWOCR

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-31_4e841177032768bf943fe6146883b0a6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\awcnmdyn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gsrfqaic.exe" C:\Windows\SysWOW64\awcnmdyn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create awcnmdyn binPath= "C:\Windows\SysWOW64\awcnmdyn\gsrfqaic.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description awcnmdyn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2124
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start awcnmdyn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3620
    • 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:5092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4704 -s 572
      2⤵
      • Program crash
      PID:1288
  • C:\Windows\SysWOW64\awcnmdyn\gsrfqaic.exe
    C:\Windows\SysWOW64\awcnmdyn\gsrfqaic.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1892
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1892 -s 512
      2⤵
      • Program crash
      PID:1040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4704 -ip 4704
    1⤵
      PID:2060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1892 -ip 1892
      1⤵
        PID:3972

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        5fc7fe4d6d15b2b0e5f0e58ac79001c7

        SHA1

        34dac43f38c445f62ac084ae8fe86f4ed1513e74

        SHA256

        88cdf064d9f78add6df4e56a786571ddd7097afd34c2207068b82acf35983c93

        SHA512

        557330055da47581722d3bb2f04960e699491a167a9af943724043027ba624f2daec71d1aaa0b0fc0d376bcc9177b3552dbb2418bddf94510de0ab6dffd98762

      • memory/1832-14-0x0000000000250000-0x0000000000265000-memory.dmp

        Filesize

        84KB

      • memory/1832-17-0x0000000000250000-0x0000000000265000-memory.dmp

        Filesize

        84KB

      • memory/1832-16-0x0000000000250000-0x0000000000265000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4704-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/4704-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4704-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB