Stuck at error 577 and error 2 when running elam executable service #66
-
|
This the moved discussion from the #61 If you want understand better please read here. I have a problem which causing 577 (cerrtifcate blocked becauuse not valid) and error 2 (file path) happens when I run from batch file. This project is awesome and very advanced but I having skill issue. |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 10 replies
-
|
I don't currently have access to my dev machine to go through and double check, I'll do my best to help from memory until I'm back with my pc! I may have to do a dry build from a clean pull also to verify. But:
I realise this is a lot of setup. When I am next able to work on the project (next week) I'll look as a priority to simplify this process - preferable with an install script for first time setup, and maybe see how I can streamline the build process. Let me know if any of that worked / or if it didn't where you got stuck at, and I'll be able to advise further :-) |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
@Siradankullanici Ok I got this for you! What you need to do, on your host (or wherever you cloned this repo) do the following In a developer cmd prompt, navigate to the Run:
Now with the output of
For example, mine now looks like: So; you take those bytes and concatenate them. In the driver build script (`driver/build.rs) you will see: // Generate the ELAM `.rc` file dynamically
let elam_rc_content = r#"MicrosoftElamCertificateInfo MSElamCertInfoID
{
1,
L"0E86BB9127846181F71DC805A9277C2ECBA93A7914EBC0E5BA711C68127AC95E\0", // To-Be-Signed Hash
0x800C,
L"\0"
}"#;Replace Once you have replaced that hash, do a I have done the above in my clean VM and it works. I did import my cert into the cert manager in the VM, but I dont think this is required. If you still have difficulty, please let me know. I'm going to rewrite the readme for this project as its long overdue, but I will possibly do a youtube video on deploying this project to a VM given its rather complex. If this worked, please mark as complete. Thanks for your discussion too - I will work on improving the repo for people to actually use (there is an open issue for it from somebody else), and I will try move anything that is currently janky to an experimental branch so at least the main branch will be stable :) EditIf this is the first time getting it all running (likely will be) - you may notice your sanctum_ppl_runner service will error when starting (do so via service manager to spot the error dialogue). Reboot your PC after getting it to run the first time (I'll raise an issue to 'fix', it does something which requires a reboot). You also may not have the required child process in your %AppData%\Sanctum folder that spawns from the ppl runner; again, ill put an issue in to fix this as the child process is no longer required. Just some legacy stuff I did whilst messing about with it. I've fixed the child process thing, so ill push some changes to the main branch today, and I will introduce a change log also for the main branch in terms of stability, more so for updates which may affect a clean install / need some manual adjustment between releases. |
Beta Was this translation helpful? Give feedback.
-
|
Mine one still: |
Beta Was this translation helpful? Give feedback.
-
|
Added this to the issue, but video installation guide is up: https://www.youtube.com/watch?v=BFbz6ZjGitA |
Beta Was this translation helpful? Give feedback.
-
|
Well I mark with answer but I still get 577 in different computers for some reason. Probably doing something wrong. |
Beta Was this translation helpful? Give feedback.
-
|
I confirmed this general issue so I going to close discussion. Spybot ELAM installer also didn't worked on my VM. |
Beta Was this translation helpful? Give feedback.
-
|
I now working on Sanctum yet again but this time content hash suprsingly same with yours so I was in correct way. |
Beta Was this translation helpful? Give feedback.
-
|
Can't believe it but sanctum_ppl_runner is now working let's look the app. |
Beta Was this translation helpful? Give feedback.
-
|
Well now I get the last problematic problem he can't find the PIPE_NAME so it causing |
Beta Was this translation helpful? Give feedback.




Added this to the issue, but video installation guide is up: https://www.youtube.com/watch?v=BFbz6ZjGitA