Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-10-2024 17:29

General

  • Target

    0fdbeb853aaefb2dbead07ce8458e08d_JaffaCakes118.exe

  • Size

    13.8MB

  • MD5

    0fdbeb853aaefb2dbead07ce8458e08d

  • SHA1

    85aba8325e2277ccf1eb6d409f96f756a61b9d3e

  • SHA256

    dfc50af3bf552bf40978db35241509f89361556235316756c134991a880b8cea

  • SHA512

    e1b193cd81d918af7b6772886cd6beb32b9548bc84798b3efa269040f0159d8fee4d172058995a40cf34a0659c9a89ccd4aa39c205cab844e7f2887fa1327fb2

  • SSDEEP

    49152:lIghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhn:q

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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.

  • 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\0fdbeb853aaefb2dbead07ce8458e08d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0fdbeb853aaefb2dbead07ce8458e08d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\waedfkev\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:220
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jokcadp.exe" C:\Windows\SysWOW64\waedfkev\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create waedfkev binPath= "C:\Windows\SysWOW64\waedfkev\jokcadp.exe /d\"C:\Users\Admin\AppData\Local\Temp\0fdbeb853aaefb2dbead07ce8458e08d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description waedfkev "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4244
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start waedfkev
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1232
    • 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:2408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3376 -s 676
      2⤵
      • Program crash
      PID:4372
  • C:\Windows\SysWOW64\waedfkev\jokcadp.exe
    C:\Windows\SysWOW64\waedfkev\jokcadp.exe /d"C:\Users\Admin\AppData\Local\Temp\0fdbeb853aaefb2dbead07ce8458e08d_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4660
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4660 -s 536
      2⤵
      • Program crash
      PID:2356
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3376 -ip 3376
    1⤵
      PID:3176
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4660 -ip 4660
      1⤵
        PID:908
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4072,i,1828333185976713750,7918646547767660928,262144 --variations-seed-version --mojo-platform-channel-handle=4384 /prefetch:8
        1⤵
          PID:4704

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          15.0MB

          MD5

          d64b9b950d556afe5c695cf980aa0320

          SHA1

          8640ff78bbc179f73c8052d7e19af90188d3bcf6

          SHA256

          d900dfc18290849ea696684a9d12d34fb091faa6c94c2c273294e93c557056de

          SHA512

          96cc77615e65fc83955814a74912e914865d2b2553412d10b3c9bc26fc631a10a9eebebf5fca85ff9e33ddf635949f2dd8831d3e7e2cef6b0baf047863b8b918

        • memory/760-14-0x0000000000F60000-0x0000000000F75000-memory.dmp

          Filesize

          84KB

        • memory/760-12-0x0000000000F60000-0x0000000000F75000-memory.dmp

          Filesize

          84KB

        • memory/760-16-0x0000000000F60000-0x0000000000F75000-memory.dmp

          Filesize

          84KB

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

          Filesize

          84KB

        • memory/3376-2-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

          Filesize

          76KB

        • memory/3376-8-0x0000000000400000-0x000000000086B000-memory.dmp

          Filesize

          4.4MB

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

          Filesize

          84KB

        • memory/3376-9-0x0000000000CD0000-0x0000000000CE3000-memory.dmp

          Filesize

          76KB

        • memory/3376-1-0x00000000008C0000-0x00000000009C0000-memory.dmp

          Filesize

          1024KB

        • memory/4660-11-0x0000000000400000-0x000000000086B000-memory.dmp

          Filesize

          4.4MB

        • memory/4660-15-0x0000000000400000-0x000000000086B000-memory.dmp

          Filesize

          4.4MB

        • memory/4660-18-0x0000000000400000-0x000000000086B000-memory.dmp

          Filesize

          4.4MB