Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    27/01/2025, 11:04 UTC

General

  • Target

    2025-01-27_248e8001f6f2b4bc189e33de80408ab3_mafia.exe

  • Size

    11.5MB

  • MD5

    248e8001f6f2b4bc189e33de80408ab3

  • SHA1

    1d08963f302551ea2914e47833775bef20199429

  • SHA256

    36d1a647fb610758e44ced8bbfd91697d9ac173dff2f76a832ec5f6e1e2fdb63

  • SHA512

    128fd557cb7607f6b108c390807951cc66c3e8099d520c1acc7b4059d868ab9e7bcf52157d65af0e3bdf8b50ebbe95c9cc88dfaf4be328db596dc54e19924245

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/L:POMdRQr7OB0ypmMXnl8XEPM3noSWOC+

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-27_248e8001f6f2b4bc189e33de80408ab3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_248e8001f6f2b4bc189e33de80408ab3_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hxjjybew\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jsmrjidz.exe" C:\Windows\SysWOW64\hxjjybew\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hxjjybew binPath= "C:\Windows\SysWOW64\hxjjybew\jsmrjidz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_248e8001f6f2b4bc189e33de80408ab3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hxjjybew "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hxjjybew
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2592
    • 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:2616
  • C:\Windows\SysWOW64\hxjjybew\jsmrjidz.exe
    C:\Windows\SysWOW64\hxjjybew\jsmrjidz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_248e8001f6f2b4bc189e33de80408ab3_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2816
    • 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:2644

Network

  • flag-us
    DNS
    microsoft.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    microsoft.com
    IN A
    Response
    microsoft.com
    IN A
    20.76.201.171
    microsoft.com
    IN A
    20.236.44.162
    microsoft.com
    IN A
    20.112.250.133
    microsoft.com
    IN A
    20.70.246.20
    microsoft.com
    IN A
    20.231.239.246
  • flag-us
    DNS
    microsoft.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    microsoft.com
    IN MX
    Response
    microsoft.com
    IN MX
    microsoft-commail protectionoutlook�
  • flag-us
    DNS
    microsoft-com.mail.protection.outlook.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    microsoft-com.mail.protection.outlook.com
    IN A
    Response
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.11.0
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.40.26
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.42.0
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.8.49
  • flag-us
    DNS
    yahoo.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    yahoo.com
    IN MX
    Response
    yahoo.com
    IN MX
    mta7am0yahoodnsnet
    yahoo.com
    IN MX
    mta5�.
    yahoo.com
    IN MX
    mta6�.
  • flag-us
    DNS
    mta7.am0.yahoodns.net
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    mta7.am0.yahoodns.net
    IN A
    Response
    mta7.am0.yahoodns.net
    IN A
    98.136.96.76
    mta7.am0.yahoodns.net
    IN A
    67.195.228.111
    mta7.am0.yahoodns.net
    IN A
    98.136.96.74
    mta7.am0.yahoodns.net
    IN A
    67.195.204.77
    mta7.am0.yahoodns.net
    IN A
    67.195.228.109
    mta7.am0.yahoodns.net
    IN A
    67.195.204.72
    mta7.am0.yahoodns.net
    IN A
    67.195.204.79
    mta7.am0.yahoodns.net
    IN A
    67.195.204.74
  • flag-us
    DNS
    google.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    google.com
    IN MX
    Response
    google.com
    IN MX
    smtp�
  • flag-us
    DNS
    smtp.google.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    smtp.google.com
    IN A
    Response
    smtp.google.com
    IN A
    74.125.206.27
    smtp.google.com
    IN A
    142.251.173.26
    smtp.google.com
    IN A
    64.233.167.26
    smtp.google.com
    IN A
    142.251.173.27
    smtp.google.com
    IN A
    74.125.206.26
  • flag-us
    DNS
    mail.ru
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    mail.ru
    IN MX
    Response
    mail.ru
    IN MX
    mxs�
  • flag-us
    DNS
    mxs.mail.ru
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    mxs.mail.ru
    IN A
    Response
    mxs.mail.ru
    IN A
    217.69.139.150
    mxs.mail.ru
    IN A
    94.100.180.31
  • 20.76.201.171:80
    microsoft.com
    svchost.exe
    190 B
    132 B
    4
    3
  • 52.101.11.0:25
    microsoft-com.mail.protection.outlook.com
    svchost.exe
    152 B
    3
  • 43.231.4.7:443
    svchost.exe
    152 B
    3
  • 98.136.96.76:25
    mta7.am0.yahoodns.net
    svchost.exe
    152 B
    3
  • 74.125.206.27:25
    smtp.google.com
    svchost.exe
    152 B
    3
  • 43.231.4.7:443
    svchost.exe
    152 B
    3
  • 217.69.139.150:25
    mxs.mail.ru
    svchost.exe
    152 B
    3
  • 43.231.4.7:443
    svchost.exe
    152 B
    3
  • 8.8.8.8:53
    microsoft.com
    dns
    svchost.exe
    59 B
    139 B
    1
    1

    DNS Request

    microsoft.com

    DNS Response

    20.76.201.171
    20.236.44.162
    20.112.250.133
    20.70.246.20
    20.231.239.246

  • 8.8.8.8:53
    microsoft.com
    dns
    svchost.exe
    59 B
    113 B
    1
    1

    DNS Request

    microsoft.com

  • 8.8.8.8:53
    microsoft-com.mail.protection.outlook.com
    dns
    svchost.exe
    87 B
    151 B
    1
    1

    DNS Request

    microsoft-com.mail.protection.outlook.com

    DNS Response

    52.101.11.0
    52.101.40.26
    52.101.42.0
    52.101.8.49

  • 8.8.8.8:53
    yahoo.com
    dns
    svchost.exe
    55 B
    134 B
    1
    1

    DNS Request

    yahoo.com

  • 8.8.8.8:53
    mta7.am0.yahoodns.net
    dns
    svchost.exe
    67 B
    195 B
    1
    1

    DNS Request

    mta7.am0.yahoodns.net

    DNS Response

    98.136.96.76
    67.195.228.111
    98.136.96.74
    67.195.204.77
    67.195.228.109
    67.195.204.72
    67.195.204.79
    67.195.204.74

  • 8.8.8.8:53
    google.com
    dns
    svchost.exe
    56 B
    77 B
    1
    1

    DNS Request

    google.com

  • 8.8.8.8:53
    smtp.google.com
    dns
    svchost.exe
    61 B
    141 B
    1
    1

    DNS Request

    smtp.google.com

    DNS Response

    74.125.206.27
    142.251.173.26
    64.233.167.26
    142.251.173.27
    74.125.206.26

  • 8.8.8.8:53
    mail.ru
    dns
    svchost.exe
    53 B
    73 B
    1
    1

    DNS Request

    mail.ru

  • 8.8.8.8:53
    mxs.mail.ru
    dns
    svchost.exe
    57 B
    89 B
    1
    1

    DNS Request

    mxs.mail.ru

    DNS Response

    217.69.139.150
    94.100.180.31

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.1MB

    MD5

    1257938293d2b60f45256e3d68f87a07

    SHA1

    f51023ddc84d7ab6e5f6ea1fa23b4bbbe79c0c8e

    SHA256

    0f786194471eefe1373c6fa0b7b3f2823b344303419acbb41498253f63f1bd70

    SHA512

    983ed4ab8a47d71837f5d21d0a7cd35e61290d99475b268832e531ec558d7c90067388a382ea5e2954bb676ba74d6ea494a9c43cfffd0b15e2befc007c08f17c

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

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/2216-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    312KB

We care about your privacy.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.