Hacking Articles Tips Tricks Videos Tutorials
468 subscribers
65.9K photos
15 videos
157 files
132K links
Exploit
Pentesting
Hacking
Red Team
Blue Team
Kali Linux
Bug Bounty
Black Hat
Cyber security etc

@Hacking_Video
@Hacking_attack
Download Telegram
Hacking Articles Tips Tricks Videos Tutorials
Hacking Articles|Raj Chandel's Blog Containers Vulnerability Scanner: Trivy This article talks about Trivy, which is a a simple and comprehensive vulnerability scanner for containers and other artifacts, suitable for Continueos Integration and Testing. <o:p…
o scan the container image.<o:p sudo trivy image 4621d4fe2959<o:p<v:shape<v:imagedata<o:p

<o:p https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCRH0VJ3sf6qBDs6EadNv0tZe_SfLEtDU0rdYlZXh-rnrO1KNGqSIDLO9LWWTcmvFSFUasmf4TOmb0tqdGFwYW4Z0sXQmm_sEzgqn-XpNJVB3FG478rjsa6iRtHqAiTmI17UxbNkEMPJuJvCxcB4OGJd3Gi3BYYbKTsDBjW6OcPnsJYxBwNA0-qwRNQw/s16000/4.png You can also scan the images for a particular severity of vulnerabilities and save the report in text format using the below given command.<o:p sudo trivy image --severity HIGH 4621d4fe2959 > result.txt<o:ptail result.txt<o:phttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjL1lofqNvke1zc6tUuf6RG6RY6HSMFEz3FeeZSWJ9lsXzeQwFu9AxiSD7ZZpEq-OJ6X2Nu417L_iBkMhqP_jJmY5vIRGJVR13_cEokB6ErVe1eAJ4HfGpQDeTDDGGHvOexSo8LmBtOJHJdW8yFVC9U5_HHTbMttApIgwUr00PfHz9OKOzV9qhEgWJKVw/s16000/5.png <v:shape<v:imagedata<o:p Scanning Filesystem <o:pTrivy can be used to scan a filesystem (such as a host machine, a virtual machine image, or an unpacked container image filesystem). <o:p

(Note: We are using vulnerable-node from Filesystem for this practical.) <o:p

<o:pUse the below given command to scan any filesystem for vulnerabilities.

<o:p trivy conf services/<o:p https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglKpRjy3nKSAKVj4RmiyB4IP459DTh09_DMu6rFao3kOpTGQzsMOT2cxt5AXa5PsxbveSnxuo4GuT48SSHWemARoHET8xl28XWiSdpQDrQgFOvHYsgy4k6K0aOKkng9w42elgWHQDhFbDkt6gd7RNJ5ckr3NRSaMEInOdCVWi5P_bChIx9JdnY56lmMQ/s16000/6.png <v:shape<v:imagedata<o:p Scanning From Inside Containers<o:pYou can easily scan running container from inside. Follow the below given steps to scan a docker file.<o:p

Step1: Run the docker file that you want to scan.<o:p sudo docker run -it alpine<o:pStep2: Add Trivy scanner to the file and run it.<o:p apk add curl \<o:p&& curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin \    && trivy filesystem --exit-code 1 --no-progress /<o:p<o:p https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7ZlI5RltN-TQxOoQs_cDHRUjwGNf7RRiU7ZTARriPW1Ssv_d0jTCl7sc7xRprm_9HV2_ddsDzratEfm9PCTnNeThs3DkRodaxocewZBWls-iR8wxvmsgiumuokSZgXIN_5mcsZ9P7n1kbK1uJC5a_v4QxCJJ8HaGLS9zG3MC7GkIL8iMdStVrCmxeVQ/s16000/7.png <v:shape<v:imagedata<o:p

<o:pEmbed Trivy in Dockerfile

Scan your image as part of the build process by embedding Trivy in the Dockerfile. This approach can be used to update Dockerfiles currently using Aqua’s Microscanner. Follow the below given steps to scan docker file while building it.<o:p

Step1: Add trivy to the docker file.<o:p FROM alpine:3.7<o:pRUN apk add curl \&& curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin \<o:p&& trivy filesystem --exit-code 1 --no-progress /<o:pStep2 : Build the image.

<o:p sudo docker build -t vulnerable image .<o:p<o:p https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBWSgJKezqdBEDhXlPlfzX_MNnPvm17-IR1nZ7iv1ywcU9Ut73bIr3vyESN_3zqaBzmPFrC6786oDjyEZeOQdnczNZ2Z1meptDBkFf2TiCSaTvO9EEbupcg6I3NoNmBBI628VHmmWDAtFLfR2u5X3vI6r7XJwopIZryOH3I1B8WLCVik1MIhECwgKYMw/s16000/8.png <v:shape<v:imagedata<o:p

<o:p

It will scan the docker file while the image is being built and give the report as shown below. <o:p

<v:shape<v:imagedata<o:p

<o:p https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSe8EsDwrbg88ex0nty9RfdKaZkemAcg7zRMIcSMUkls8ITjwqeugATPz3Gix-AeDw8lpqMI9yDUOo3L8HIc2o2HjH3mpyhnw2ge_MlgIMCQ_tyvSY-Hz3mG-4DgpMOArxBngY60S0d8oP76lNzo3uPVny3xyvA9WhuX8qGUyrjHjuD2WzQ6I7-bAMrw/s16000/9.png Author: Mukund Mehrotra is a cybersecurity researcher , technical writer and an enthusiastic pen-tester at Hacking Articles. Contact here. <o:p
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
How much does an ethical hacker earn?

When you hear the word hacker, you may believe, it must be a person who is doing infamy things behind the screen. That isn’t always the…

Continue reading on Medium »
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Coast to Coast, a Defcon story

This is the story of my journey to Defcon in Las Vegas. DC201 was new, and I one of the co-founders intended to make a grand introduction…

Continue reading on Medium »
hacking: security in practice
The Debate on IDE's

So, my question for the day is simple, which IDE do you guys use? I've been a firm believer in VSCode, and use it as my daily goto, but have heard a lot of good press on sublime, WingIDE, atom etc, and wondered if anyone had any opinions on what I should possibly try next.

For clarification, this post is regarding downloaded IDE's, not console systems like nano and vi/m. Many thanks in advance 🤣

submitted by /u/Th3D4rkR34p3r
[link] [comments]
Getsimple CMS 3.3.10 Exploit

Hallo kembali lagi dengan saya pada kesempatan kali ini saya ingin menunjukkan dokumentasi exploitasi Getsimple CMS 3.3.10.Continue reading on Medium »
Read more...
Hallo kembali lagi dengan saya pada kesempatan kali ini saya ingin menunjukkan dokumentasi exploitasi Getsimple CMS 3.3.10.Continue reading on Medium » (https://medium.com/@wanzlowsec/getsimple-cms-3-3-10-exploit-1df9d031045e?source=rss------bug_bounty-5)
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Becoming an Ethical Hacker

https://cdn-images-1.medium.com/max/728/1*4iFdEdHEHSALCDHKpSbFyQ.jpeg
I’ve made the decision to study ethical hacking for three months and write a blog about it. I’m pretty thrilled about this because I’m new…

Continue reading on Medium »
hacking: security in practice
How to make money ?

Hello there what is best way to make money on leaked content I have a few TB ? Which webs have best stats on linktree per click to $ or € ? Thanks a lot.

submitted by /u/Protectionisgreat1
[link] [comments]