element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Raspberry Pi 4 Linux Malware detect & ClamAv install
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: gam3t3ch
  • Date Created: 16 Oct 2019 3:51 AM Date Created
  • Views 2328 views
  • Likes 6 likes
  • Comments 2 comments
Related
Recommended

Raspberry Pi 4 Linux Malware detect & ClamAv install

gam3t3ch
gam3t3ch
16 Oct 2019

image

 

 

So if you plan on using your Raspberry Pi 4 as a desktop or any other Raspberry Pi.  One thing I cant stress enough if protection if you have a web browser in use and your online you want to make sure that you have some sort of protect and a good starting point is with some Malware and Antivirus protection.

 

Now from my understanding LMD (Linux Malware Detect) will run with clamav now is it working 100% with clamtk?  it seems to be but I could be mistaken scans do take longer with it installed so I am under the assumption it is working correctly.

You can either run your scans from terminal or through clamtk which I use as well.

 

So lets get it installed the first thing we want to do is download LMD

you can copy and paste the following into a terminal window.

 

LMD Download:

 

open terminal then enter the following:

wget http://www.rfxn.com/downloads/maldetect-current.tar.gz

 

next we want to extract it so you can either do that from terminal or what I like to do is just open the file manager and then move it to another folder not in the /home/pi folder  for my example I create one called av.

once you have placed it into your folder you will want to extract it right click on it in the folder and select extract here.

After that we want to move it to its new home so I would type the following you might have to do it differently depending on where you have it located

so I went to the directory I had it extracted in terminal

I went  cd av from the home/pi directory if your not sure where you are just type ls you might have it just in your home/pi folder if you just extracted it there.

onto moving it to its new home with the folder visible in the directory I typed sudo mv maldetect-1.6.4 /opt/ and hit enter.

next command are as follows.

cd

cd /opt

cd maldetect-1.6.4

sudo ./install.sh

 

after I installed ClamAv and ClamTK I made sure that the file was set to work with ClamAv

this is set by going to /opt/maldetect-1.6.4/files

and typing: sudo nano conf.maldet

should be half way or more down the list you will see

scan_clamscan="1"

if for some reason it says "0" change it to "1"

 

image

 

CalmAv install:

open terminal and type:

sudo apt-get install clamav && sudo apt-get install clamtk

 

Well that one was easy to do after installing both of those go to the top left to the applications menu and go to accessories and then click on clamtk

 

That's it! Play around and scan away it won't take much to get use to it and if you want to add more functions to keep your system protected with clamav go to the applications menu and then down to Preferences and then select Add / Remove Software and in the search bar type ClamAv and it will give you a bunch of different addon's that might be of use to some.

 

You can also check out the video here which for some reason I had some rendering issues this time so a few white spots in the video.  Guess its time to try something else out for recording my Raspberry Pi.  Will see tho any ideas? let me know below.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply

Top Comments

  • mp2100
    mp2100 over 3 years ago +3
    Very useful. I had not seen the LMD tool before. And they have several other good utilities at that site. With the Pi4 being a reasonable desktop computer, it's a good idea to protect it.
  • gam3t3ch
    gam3t3ch over 3 years ago in reply to mp2100 +2
    You bet! and ya I was pretty happy to find we could integrate a lot more protection on the pi which does use some ram and sits idle in the background so personally I recommend it on the 4gb model but have…
  • gam3t3ch
    gam3t3ch over 3 years ago in reply to mp2100

    You bet! and ya I was pretty happy to find we could integrate a lot more protection on the pi which does use some ram and sits idle in the background so personally I recommend it on the 4gb model but have had no issues on the 2gb model I am using.  Which I do my video editing on which is pretty resource heavy.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mp2100
    mp2100 over 3 years ago

    Very useful.  I had not seen the LMD tool before.  And they have several other good utilities at that site.  With the Pi4 being a reasonable desktop computer, it's a good idea to protect it.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube