Analysis

  • max time kernel
    142s
  • max time network
    141s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-08-2024 21:08

General

  • Target

    2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe

  • Size

    12.0MB

  • MD5

    2b01b8549776e835eb9764a447a8a8c6

  • SHA1

    30bebb315c168df16508f91dca22891de9860c7e

  • SHA256

    dd5b575cf505ec7b9589b110df66c9c7f508cce7241086eff387040beeab65da

  • SHA512

    1f9d77fb159f52651f3adc504ea921ff90c2371cd1d100ddcca7e6f107e483e7afc74197655e418b8ff6fa01ca47215da3e85699bdef0f09ea24a52df48422f5

  • SSDEEP

    6144:o+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:o+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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.

  • 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-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yxbftxdv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehppnlpy.exe" C:\Windows\SysWOW64\yxbftxdv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yxbftxdv binPath= "C:\Windows\SysWOW64\yxbftxdv\ehppnlpy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yxbftxdv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yxbftxdv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2388
    • 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:440
  • C:\Windows\SysWOW64\yxbftxdv\ehppnlpy.exe
    C:\Windows\SysWOW64\yxbftxdv\ehppnlpy.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-24_2b01b8549776e835eb9764a447a8a8c6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3352
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3460

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    6659c641a50ea325c3b1cef6b7f04b7f

    SHA1

    74bb3b4a0c89c2a4171149f2734042733e4b8fb2

    SHA256

    64b400fca43fb53b0e90bc839a444289513fc2191d5ebeae51519f44c20a4cff

    SHA512

    fc69dc864719c62d233b0739bfa19d4c4e2740d3020cd1c1dfdedee98a56c7aefc7892ba2bad727f92aaae6ad879f0c37638cf62177a1e1f8a3a731715d5a61d

  • memory/2596-1-0x0000000000650000-0x0000000000750000-memory.dmp

    Filesize

    1024KB

  • memory/2596-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2596-7-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2596-6-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/3352-10-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/3352-16-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/3352-9-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/3460-11-0x0000000001000000-0x0000000001015000-memory.dmp

    Filesize

    84KB

  • memory/3460-14-0x0000000001000000-0x0000000001015000-memory.dmp

    Filesize

    84KB

  • memory/3460-15-0x0000000001000000-0x0000000001015000-memory.dmp

    Filesize

    84KB

  • memory/3460-17-0x0000000001000000-0x0000000001015000-memory.dmp

    Filesize

    84KB

  • memory/3460-18-0x0000000001000000-0x0000000001015000-memory.dmp

    Filesize

    84KB