Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-12-2024 20:43

General

  • Target

    2024-12-26_db987c25ac0b684de3ed6bbec118360d_mafia.exe

  • Size

    12.4MB

  • MD5

    db987c25ac0b684de3ed6bbec118360d

  • SHA1

    341aa3b8893a3661ac0d6ca3f5feca34d01306ba

  • SHA256

    9bf94e55f10d23d60a724a00c10f8782c10827846bc1e7315717c75b06439fc4

  • SHA512

    8d2627d560e5dc07d5e0d2756958b1405528a068d4c82bcaf8e45dc0bdf2b812c18e019de8239096955f44138542bf89085aea507427b2002f0cca281fe34730

  • SSDEEP

    3072:uLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:3OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-26_db987c25ac0b684de3ed6bbec118360d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-26_db987c25ac0b684de3ed6bbec118360d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\scoyklz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ddepkljr.exe" C:\Windows\SysWOW64\scoyklz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create scoyklz binPath= "C:\Windows\SysWOW64\scoyklz\ddepkljr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-26_db987c25ac0b684de3ed6bbec118360d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description scoyklz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start scoyklz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1404
    • 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:1868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4012 -s 1288
      2⤵
      • Program crash
      PID:4952
  • C:\Windows\SysWOW64\scoyklz\ddepkljr.exe
    C:\Windows\SysWOW64\scoyklz\ddepkljr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-26_db987c25ac0b684de3ed6bbec118360d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2576
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3280
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2576 -s 512
      2⤵
      • Program crash
      PID:212
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4012 -ip 4012
    1⤵
      PID:4940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 2576 -ip 2576
      1⤵
        PID:2068

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        0799503585cac9089648a72d78cad578

        SHA1

        9217d2ec5e02b6f614afea6b3792757dc14213b6

        SHA256

        adf3300da47d6327db4460dde0dfec57c77d79ae687c3b2f66bc92f9add076f6

        SHA512

        79c5d65adf13289bf1b79638ce4ae59696fa3b1965a0fe1aac96ec253cd6008e8b09b62a0f48d0cc3d321457d5a7f109ece54a0d6f4b3ff75153048ff0f8d50e

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3280-16-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/3280-14-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

      • memory/3280-17-0x0000000001020000-0x0000000001035000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4012-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB