Analysis

  • max time kernel
    143s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    15-01-2025 18:51

General

  • Target

    2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe

  • Size

    10.7MB

  • MD5

    3233786abe3f10c3b3c7248873abf10a

  • SHA1

    6ed54a117d5f9a237d4d15b5db518dbcaf2ae63a

  • SHA256

    eed0b339509bc0a1ba496841e9148ce2b01100f39cf4c08568714156d7072e6a

  • SHA512

    2b06f09f9a04f1e9e0b8c155772f709297bb83785d052029fa090546857e3265c0dd9e790f6523d3feea5ee5cdef2de62096e54c3ebce02b086315c19e7f76c7

  • SSDEEP

    24576:+pomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttl:Soo

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dfnzrmyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bkejbavr.exe" C:\Windows\SysWOW64\dfnzrmyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dfnzrmyb binPath= "C:\Windows\SysWOW64\dfnzrmyb\bkejbavr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dfnzrmyb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dfnzrmyb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2728
    • 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:2548
  • C:\Windows\SysWOW64\dfnzrmyb\bkejbavr.exe
    C:\Windows\SysWOW64\dfnzrmyb\bkejbavr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_3233786abe3f10c3b3c7248873abf10a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1056
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3004

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.7MB

    MD5

    a10d206cc4a8d51596a26c3c28e870a5

    SHA1

    732ef00aa3e65d748f11b4899b51650035c61ddd

    SHA256

    87f8ea33f1f2eb50c2667fc97a5bde12fb81762bb70e4140b255b45dab980c2d

    SHA512

    eccebf7d85d71968db680ef3e6727683957de238c2b7fb4510804d1af3dbad31a96957ab38aa6c7951eb7e3badc0cbfcbb3a57e393c8099cbc68a4ec795ad228

  • memory/1056-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2180-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2180-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

  • memory/2180-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/3004-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3004-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/3004-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3004-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3004-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB