Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-04-2024 16:21

General

  • Target

    f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe

  • Size

    268KB

  • MD5

    f855c178ba66fef7013303cca97a1a4e

  • SHA1

    26756ba97d394b418af1a6772a226ff2f2c18b55

  • SHA256

    e87a5c719ac7af99f1478732889d5df0a275315b42b3b9aecc8b91333bd9c0af

  • SHA512

    2ede9d6202ab29b1724fa57d3ecc947bf6fe45c1052aefdd70a6f6f53dd9e3e0ed785faaf7e05eb46fa56c327a355b92b3f2b219f0affa85d31c192b29cd2531

  • SSDEEP

    6144:jqs4O6bVLJnq2splH1e24EafBw0+8WloM+nCbVV:1sZL0dfJ4EaZZ+9oM+nmV

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\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lvsxnppk\
      2⤵
        PID:2912
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\umrryqko.exe" C:\Windows\SysWOW64\lvsxnppk\
        2⤵
          PID:4232
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lvsxnppk binPath= "C:\Windows\SysWOW64\lvsxnppk\umrryqko.exe /d\"C:\Users\Admin\AppData\Local\Temp\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1436
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lvsxnppk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4512
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lvsxnppk
          2⤵
          • Launches sc.exe
          PID:8
        • 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:4272
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 628 -s 1204
          2⤵
          • Program crash
          PID:1804
      • C:\Windows\SysWOW64\lvsxnppk\umrryqko.exe
        C:\Windows\SysWOW64\lvsxnppk\umrryqko.exe /d"C:\Users\Admin\AppData\Local\Temp\f855c178ba66fef7013303cca97a1a4e_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1072
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4476
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1072 -s 520
          2⤵
          • Program crash
          PID:3744
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 628 -ip 628
        1⤵
          PID:4076
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1072 -ip 1072
          1⤵
            PID:700
          • 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=756 --field-trial-handle=2248,i,10247514684337323751,15511974759131734137,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:4232

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              7.3MB

              MD5

              ff5e0efba609b1678240fe358aef0bf8

              SHA1

              0892171dd77e769ed2e565eb68fa657de6cb9416

              SHA256

              1ed26b6128aabcbb763a84f4d5910b23a6257d98a6a0916bff0e3b90c266678b

              SHA512

              130b6ac040b84af48c893038fbd43971766f27aa2086812d7e3cf3dae695eebc8d4d6676a0dc6949ca1f09678aaaa7f6c8615f678794da9c8a6d3a8a9c4a8fc3

            • C:\Windows\SysWOW64\lvsxnppk\umrryqko.exe

              Filesize

              8.8MB

              MD5

              2bf13e8524c23823e37f0d8ceef15b27

              SHA1

              a98e0483f93c220f799f255f2298c21cd544abd1

              SHA256

              5e2449dff82b61a531f4a015e6f188c3a6e92ee8c5e618e7e15e3f07a73d9674

              SHA512

              2484965ddc53f1c7bdb9a5230e96376b70e234f087d90f495bba7c28b0a3095bb80a9fcc6b6c49d04bc96d5f75b2bc2aa67b6faf2ad16b5dd05ce9a3d920ad4d

            • memory/628-8-0x0000000000400000-0x00000000023AD000-memory.dmp

              Filesize

              31.7MB

            • memory/628-4-0x0000000000400000-0x00000000023AD000-memory.dmp

              Filesize

              31.7MB

            • memory/628-2-0x0000000002500000-0x0000000002513000-memory.dmp

              Filesize

              76KB

            • memory/628-1-0x00000000025C0000-0x00000000026C0000-memory.dmp

              Filesize

              1024KB

            • memory/628-12-0x0000000002500000-0x0000000002513000-memory.dmp

              Filesize

              76KB

            • memory/1072-14-0x00000000025C0000-0x00000000026C0000-memory.dmp

              Filesize

              1024KB

            • memory/1072-17-0x0000000000400000-0x00000000023AD000-memory.dmp

              Filesize

              31.7MB

            • memory/1072-21-0x0000000000400000-0x00000000023AD000-memory.dmp

              Filesize

              31.7MB

            • memory/4476-10-0x0000000000D20000-0x0000000000D35000-memory.dmp

              Filesize

              84KB

            • memory/4476-15-0x0000000000D20000-0x0000000000D35000-memory.dmp

              Filesize

              84KB

            • memory/4476-18-0x0000000000D20000-0x0000000000D35000-memory.dmp

              Filesize

              84KB

            • memory/4476-19-0x0000000000D20000-0x0000000000D35000-memory.dmp

              Filesize

              84KB

            • memory/4476-20-0x0000000000D20000-0x0000000000D35000-memory.dmp

              Filesize

              84KB