Analysis

  • max time kernel
    154s
  • max time network
    158s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-04-2024 06:26

General

  • Target

    f9b27329a6626a54bb3c1758a117587d_JaffaCakes118.exe

  • Size

    10.1MB

  • MD5

    f9b27329a6626a54bb3c1758a117587d

  • SHA1

    edbf73d0859efccdb4fd37fdd75ed677d69469be

  • SHA256

    01d1d4a4fd0228bd3ba6f7b6fc9c573bb38800713144ee112500f9efe2249e23

  • SHA512

    2c49782962efa7f29a4b6b466defa63ed838057e168fb874b28f67aebd68607131398403fa7ee1309c078acce0f3c087e56744b51351c6bb40100154e30184a3

  • SSDEEP

    12288:OIIW7A7qL8SHSIiwN/iZBqAsArTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTX:DA7qLNNf

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) 1 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f9b27329a6626a54bb3c1758a117587d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f9b27329a6626a54bb3c1758a117587d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tjcarawq\
      2⤵
        PID:4716
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mvdbuwzz.exe" C:\Windows\SysWOW64\tjcarawq\
        2⤵
          PID:4108
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tjcarawq binPath= "C:\Windows\SysWOW64\tjcarawq\mvdbuwzz.exe /d\"C:\Users\Admin\AppData\Local\Temp\f9b27329a6626a54bb3c1758a117587d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1392
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tjcarawq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1492
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tjcarawq
          2⤵
          • Launches sc.exe
          PID:3812
        • 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
          PID:1180
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1944 -s 668
          2⤵
          • Program crash
          PID:1616
      • C:\Windows\SysWOW64\tjcarawq\mvdbuwzz.exe
        C:\Windows\SysWOW64\tjcarawq\mvdbuwzz.exe /d"C:\Users\Admin\AppData\Local\Temp\f9b27329a6626a54bb3c1758a117587d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5012
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4168
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5012 -s 516
          2⤵
          • Program crash
          PID:2092
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1944 -ip 1944
        1⤵
          PID:3836
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 5012 -ip 5012
          1⤵
            PID:3772
          • 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 --no-appcompat-clear --mojo-platform-channel-handle=5248 --field-trial-handle=2236,i,5367110156796017614,12594004256180761011,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:212

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              12.2MB

              MD5

              8717e67b42d24e452545e2f00ad57a33

              SHA1

              5b7f7fea04ab1717bce314fed23cee9dcb9fafc6

              SHA256

              0c4857df996f56844faee457ac5fcb7490a2e8ff53dba8942c5068801940ea61

              SHA512

              32467b9875748f26cc2784789b59df7adc11db86e61ebc848d3007a1f078832de783dc3eab1ac8234500aedee435f33a9d87d319523729ce3aa50b5b5dc4078c

            • memory/1944-1-0x0000000000750000-0x0000000000850000-memory.dmp

              Filesize

              1024KB

            • memory/1944-2-0x0000000000710000-0x0000000000723000-memory.dmp

              Filesize

              76KB

            • memory/1944-3-0x0000000000400000-0x000000000046D000-memory.dmp

              Filesize

              436KB

            • memory/1944-8-0x0000000000400000-0x000000000046D000-memory.dmp

              Filesize

              436KB

            • memory/1944-9-0x0000000000710000-0x0000000000723000-memory.dmp

              Filesize

              76KB

            • memory/4168-15-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/4168-12-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/4168-17-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/4168-18-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/5012-11-0x0000000000400000-0x000000000046D000-memory.dmp

              Filesize

              436KB

            • memory/5012-10-0x00000000004F0000-0x00000000005F0000-memory.dmp

              Filesize

              1024KB

            • memory/5012-16-0x0000000000400000-0x000000000046D000-memory.dmp

              Filesize

              436KB