[NFBCS] How to install and use this? - Linux

Jonesy Cee jones.cee7 at yahoo.com
Tue Mar 30 21:15:41 UTC 2021


That wiki helps so much. Thank you! Just have two more simple questions from reading that to confirm I have this right. 

Kernel module
The Silk Guardian kernel module can be loaded manually by the modprobe command: modprobe silk

To manually remove the Silk Guardian kernel module: modprobe -r silk



So I can set a bash alias for the first command to turn the module on and the second command to turn it off if for example I need to plug in or unplug a USB device? This seems easier then having to whitelist all of my devices.



The Silk Guardian kernel module can also be loaded automatically at boot:

FILE /etc/modules-load.d/silk-guardian.conf
silk
So it is saying to run these two commands and it will automatically start the module at boot? I am unfamiliar with using the file command like above to do this.





“ Never bend your head. Always hold it high. Look the world straight in the eye.” 
~ Helen Keller

> On Mar 30, 2021, at 4:41 PM, Jim Barbour <jbar at barcore.com> wrote:
> 
> Mostly, you can install/run or remove/stop kernel modules.  Sometimes they will have configuration files to read.  In this case, it looks like they expect you to edit the source code and then recompile to configure it.
> 
> Jim
> 
>> On Tue, Mar 30, 2021 at 12:55:38PM -0400, Jonesy Cee via NFBCS wrote:
>> Do you interact with Colonel modules the same way that you can an executable file in terminal?
>> 
>> I can follow the installation instructions, but says nothing about usage.
>> 
>> 
>> “ Never bend your head. Always hold it high. Look the world straight in the eye.” 
>> ~ Helen Keller
>> 
>>>> On Mar 30, 2021, at 10:48 AM, Willem Venter via NFBCS <nfbcs at nfbnet.org> wrote:
>>> 
>>> Hi. It seems like it is built as a kernel module.
>>> Modules are basically arbitrary binary blobs that conform to the
>>> kernel's module interface. Loaded modules can register interrupts that
>>> trigger when specific things happen, e.g. hardware state changes. From
>>> there it can run any custom code it wants to. A lot of functionality
>>> is made posseble by using the kernel API (exposed to the program
>>> through the kernel headers).
>>> 
>>> HTH
>>> - Willem Venter
>>> 
>>>> On 3/30/21, Jonesy Cee via NFBCS <nfbcs at nfbnet.org> wrote:
>>>> I am wanting to install the following on my raspberry pies that are mining
>>>> crypto to prevent possibility that someone could steal my wallet.
>>>> 
>>>> https://github.com/NateBrune/silk-guardian
>>>> 
>>>> The instructions say the following,
>>>> 
>>>> To run:
>>>> 
>>>> make
>>>> sudo insmod silk.ko
>>>> You will need to have the linux-headerspackage installed. If you haven't:
>>>> 
>>>> sudo apt-get install linux-headers
>>>> 
>>>> 
>>>> 
>>>> — from what I understand, I need to use the command to install the headers,
>>>> cd to where I downloaded it in terminal, type “make” and then just “ sudo
>>>> insmod silk.ko”. There really isn’t any other instructions besides that? How
>>>> is it that I actually turn it on or off or use the other features that it
>>>> talks about?
>>>> 
>>>> I appreciate any help that anyone can give!
>>>> 
>>>> “ Never bend your head. Always hold it high. Look the world straight in the
>>>> eye.”
>>>> ~ Helen Keller
>>>> _______________________________________________
>>>> NFBCS mailing list
>>>> NFBCS at nfbnet.org
>>>> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>>>> To unsubscribe, change your list options or get your account info for NFBCS:
>>>> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/dwillemv%40gmail.com
>>>> 
>>> 
>>> _______________________________________________
>>> NFBCS mailing list
>>> NFBCS at nfbnet.org
>>> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>>> To unsubscribe, change your list options or get your account info for NFBCS:
>>> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/reeceobryan%40icloud.com
>> _______________________________________________
>> NFBCS mailing list
>> NFBCS at nfbnet.org
>> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> To unsubscribe, change your list options or get your account info for NFBCS:
>> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/jbar%40barcore.com
>> 


More information about the NFBCS mailing list