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
    24-12-2024 17:19

General

  • Target

    JaffaCakes118_7297e37f154cbba0033e436607249b89d8cf3ed1782232754723f91bcf390b75.exe

  • Size

    284KB

  • MD5

    8ad22c2fc953146a7ebfbd4e7b92e8dc

  • SHA1

    19f1b548b0c073387cce1e2aa4b27e1b20f41b12

  • SHA256

    7297e37f154cbba0033e436607249b89d8cf3ed1782232754723f91bcf390b75

  • SHA512

    1ee75b4fa9c89f94783fb65eeb8a88ba6a62d5543933e1b996bab8d050961fc3d135e9044d17680b9bd381ea2ad0b4ec0f3834d1014c16e46b0d1920dc377d75

  • SSDEEP

    6144:mo7WDeIh7kIMrEpz5kgQYwwr6dYHhSXuZet0yS8/YBtrG2i15ioo9vPDiT:MbiISEnZQYw46dYHhSXuZet0yS8/iGFv

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\JaffaCakes118_7297e37f154cbba0033e436607249b89d8cf3ed1782232754723f91bcf390b75.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7297e37f154cbba0033e436607249b89d8cf3ed1782232754723f91bcf390b75.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\corhgupv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bqvwqybu.exe" C:\Windows\SysWOW64\corhgupv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create corhgupv binPath= "C:\Windows\SysWOW64\corhgupv\bqvwqybu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7297e37f154cbba0033e436607249b89d8cf3ed1782232754723f91bcf390b75.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description corhgupv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start corhgupv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:220
    • 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:4980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4616 -s 1276
      2⤵
      • Program crash
      PID:3440
  • C:\Windows\SysWOW64\corhgupv\bqvwqybu.exe
    C:\Windows\SysWOW64\corhgupv\bqvwqybu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7297e37f154cbba0033e436607249b89d8cf3ed1782232754723f91bcf390b75.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3188
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3340
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3188 -s 520
      2⤵
      • Program crash
      PID:5092
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4616 -ip 4616
    1⤵
      PID:4212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 3188 -ip 3188
      1⤵
        PID:4052

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        dc2531983ac1deff5a179f9fdfe936af

        SHA1

        2ae23c9d27a48f1be7906d3a558be7c0f549e001

        SHA256

        c906a69e4808bd5d56cf052f33e38a1bcc27eb206cd07504cb30e4e532ac08d0

        SHA512

        60524c1f4c347608b524ec2abc2c4c927864b62766f436495c0220d4cb22b953d2a89c85a6e0906ade1b6d0def29a065a25f9b633fe74e81b7413f36528f492a

      • memory/3188-15-0x0000000000400000-0x0000000001BFD000-memory.dmp

        Filesize

        24.0MB

      • memory/3340-11-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/3340-13-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/3340-14-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/4616-1-0x0000000001F00000-0x0000000002000000-memory.dmp

        Filesize

        1024KB

      • memory/4616-2-0x0000000001EA0000-0x0000000001EB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4616-8-0x0000000001EA0000-0x0000000001EB3000-memory.dmp

        Filesize

        76KB

      • memory/4616-7-0x0000000000400000-0x0000000001BFD000-memory.dmp

        Filesize

        24.0MB