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
    31-12-2024 18:38

General

  • Target

    2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe

  • Size

    12.8MB

  • MD5

    e25846b398ee51b878603d5b8fd8af11

  • SHA1

    34d90d0997fe5507132e4c935801bc863e1adc4c

  • SHA256

    2f1b23eb1c673bd219f3a3ddcaae4fb4bccf8c66482089e103d21a875d240391

  • SHA512

    12a46f6dba8711bae6b4e350bcd8a8016131451664fab91c3faec66ade5a0c4e57f563dec34333f0ea29ce3104d011d67401af8861487fde4e9f8316c42b516c

  • SSDEEP

    3072:iLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:LOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ilvazqgd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2276
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gftvjghz.exe" C:\Windows\SysWOW64\ilvazqgd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ilvazqgd binPath= "C:\Windows\SysWOW64\ilvazqgd\gftvjghz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ilvazqgd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ilvazqgd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3324
    • 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:1700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1236 -s 664
      2⤵
      • Program crash
      PID:244
  • C:\Windows\SysWOW64\ilvazqgd\gftvjghz.exe
    C:\Windows\SysWOW64\ilvazqgd\gftvjghz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1408
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1408 -s 508
      2⤵
      • Program crash
      PID:4660
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1236 -ip 1236
    1⤵
      PID:3792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 1408 -ip 1408
      1⤵
        PID:4212

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        840d716156643d3baf6c0620c979fba9

        SHA1

        e884c5731bf03682f31624bdfacff2c1c94628a3

        SHA256

        dbc122be9f4efe7f3ac0395bee69ffe3208f045d0222aeb8f07029b2705aff1f

        SHA512

        97335630ea7b8feb3b2843ecfcaa57e08d0deb4b9bde1bbe1f9964da0fe6708859b3cb334ad37820752a8b11995b2cadbad356f5cd111602584ec85dd09d4916

      • memory/528-14-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/528-17-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/528-16-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        76KB

      • memory/1236-1-0x0000000000770000-0x0000000000870000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB