Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-11-2024 12:24

General

  • Target

    ba4e6a37a573d52c8662858559fc0ce0b99156bbbb56b44762912243c4abe39c.exe

  • Size

    13.5MB

  • MD5

    d10e66a249b3d6e9523b2ef377a732e0

  • SHA1

    bbebd8b6af0275d16f7613451665f9e749bcec45

  • SHA256

    ba4e6a37a573d52c8662858559fc0ce0b99156bbbb56b44762912243c4abe39c

  • SHA512

    df255294220063308eb1155cd5f8a299f8e3f64084aa0d66178f69bf1ebe6245a861c6070a9fdeda4ab75a9870bfde4b8745c56ddd638197925b892556ff3ea2

  • SSDEEP

    6144:NpQ6t5O5aSeJhB5Cnyt+dg/KRJC8jbPzxRL2RjZyjSIQf4GFx:Nm6+8Rhqnycdg/SljbbxRL+Z6Sr7Fx

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\ba4e6a37a573d52c8662858559fc0ce0b99156bbbb56b44762912243c4abe39c.exe
    "C:\Users\Admin\AppData\Local\Temp\ba4e6a37a573d52c8662858559fc0ce0b99156bbbb56b44762912243c4abe39c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kwucilpj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\phzgfwho.exe" C:\Windows\SysWOW64\kwucilpj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4596
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kwucilpj binPath= "C:\Windows\SysWOW64\kwucilpj\phzgfwho.exe /d\"C:\Users\Admin\AppData\Local\Temp\ba4e6a37a573d52c8662858559fc0ce0b99156bbbb56b44762912243c4abe39c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kwucilpj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kwucilpj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5036
    • 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:1588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5084 -s 1204
      2⤵
      • Program crash
      PID:1680
  • C:\Windows\SysWOW64\kwucilpj\phzgfwho.exe
    C:\Windows\SysWOW64\kwucilpj\phzgfwho.exe /d"C:\Users\Admin\AppData\Local\Temp\ba4e6a37a573d52c8662858559fc0ce0b99156bbbb56b44762912243c4abe39c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:216
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 216 -s 516
      2⤵
      • Program crash
      PID:748
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 5084 -ip 5084
    1⤵
      PID:5032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 216 -ip 216
      1⤵
        PID:2820

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        6630bc8a1a81a0680e65485a077c3b60

        SHA1

        53b8f4d63370b570ea7166268ce7480c121bfdda

        SHA256

        f451988a7ebd8fad384cee12cea39100f37ea5785609a2574dc757c12dd5dc22

        SHA512

        e3b07ab7a19725adc79f0fbfeeb2e0fdec4be810b05991e0c097a671437a3815c4a13125ac4768674c220a002b2a2adc410476a6370da75e25bbd151b0bacdcc

      • memory/216-11-0x0000000000400000-0x0000000000788000-memory.dmp

        Filesize

        3.5MB

      • memory/216-16-0x0000000000400000-0x0000000000788000-memory.dmp

        Filesize

        3.5MB

      • memory/816-12-0x0000000001050000-0x0000000001065000-memory.dmp

        Filesize

        84KB

      • memory/816-14-0x0000000001050000-0x0000000001065000-memory.dmp

        Filesize

        84KB

      • memory/816-15-0x0000000001050000-0x0000000001065000-memory.dmp

        Filesize

        84KB

      • memory/5084-1-0x00000000009B0000-0x0000000000AB0000-memory.dmp

        Filesize

        1024KB

      • memory/5084-2-0x0000000000940000-0x0000000000953000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/5084-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5084-8-0x0000000000400000-0x0000000000788000-memory.dmp

        Filesize

        3.5MB

      • memory/5084-9-0x0000000000940000-0x0000000000953000-memory.dmp

        Filesize

        76KB