Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Linux hardening with Lynis with Brian Byrne
Search
Brian Linuxing
July 17, 2020
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Linux hardening with Lynis with Brian Byrne
Presentation to Virtual PajamaCon, July 2020 on Linux hardening with Lynis.
Brian Linuxing
July 17, 2020
More Decks by Brian Linuxing
See All by Brian Linuxing
A compressed history of operating systems since the abacus
brianlinuxing
0
91
Linux 100 - Why Linux? What makes it so special? by Brian Byrne
brianlinuxing
0
81
Installing Linux from the beginning with Brian Byrne, Virtual MASCOT Conference 2020.
brianlinuxing
0
170
Linuxing In London - August 2020 - Mattermost
brianlinuxing
0
83
What every teacher should know about operating systems (from the Abacus to the modern server) with Brian Byrne,
brianlinuxing
0
170
Linux: what use is a confined user shell? With Alan Griffiths.
brianlinuxing
0
72
Welcome to, what use is a confined user shell? With Alan Griffiths
brianlinuxing
0
59
Welcome to a lap around JetBrains Space with Maarten Balliauw
brianlinuxing
0
60
Virtual event - Kubernetes 101 with Elton Stoneman - 7th May 2020
brianlinuxing
0
82
Other Decks in Technology
See All in Technology
Local CI × GitHub Actions
gogutan
2
220
Getting Started with Google Antigravity
glaforge
0
310
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.3k
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
110
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
230
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
640
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
310
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
630
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
340
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
270
Featured
See All Featured
Between Models and Reality
mayunak
4
500
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Become a Pro
speakerdeck
PRO
31
6.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Music & Morning Musume
bryan
48
7.4k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Transcript
Linux hardening with Lynis with Brian Byrne Virtual PajamaCon July
2020 © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
1
The thank yous A big thanks to everyone at PajamaCon
for inviting me. Credit to Tuxedo Computers for supporting our free Linux community ! https://www.tuxedocomputers.com/ These slides are on Speaker Deck https://speakerdeck.com/brianlinuxing © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
2
Brian Byrne discovered computing around the time Intel released the
4004 chip, in 1971. After 1979 he professionally worked across most sectors, education, commercial and finance, in some seriously technical, managerial and hands-on roles. Brian founded Linuxing In London in 2016, co-organises Covent Garden Pi Jam and all London Raspberry Pi Jam (mini-science festivals for kids), plus a lot more. NB: Brian speaks in paragraphs. He is a freelance IT manager, a thinker and do-er for hire. Want your IT systems organised properly? Pay him, he’ll do it for you! © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
3
Brian’s Operating Systems I’ve used, installed, fixed and played with
over 24 operating systems in 40 years, including but not limited to: TOPS-10, RT-11, RSX, VAX/VMS, CP/M, MS-DOS, AmigaOS, RSTE/E, Classic Mac OS (Lisa), Sinclair_QDOS, Ultrix, OSF/1, SCO Unix, OpenVMS, OS/2, VM/CMS, NetWare 2->3, Windows 1-> Windows 3.1, Windows 95->98 SE, Windows NT 1.0 ->4, Windows 2000, Windows XP, Windows Vista, Windows 7->8.1, Windows 10 and a lot more. Linux was my 15th or 16th operating system! © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
4
A word about Linux Everything is Linux. Android phones, the
lot. Linux is used on 100% of the world’s supercomputers. Everyone runs Linux: AWS, Netflix, Google, Facebook, even Microsoft Distrowatch lists 274 live Linux distributions, as of July 2020. Linux is free. 274 types to try out! Plenty of choice, masses of options. © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
5
Brief agenda Outline the topic, think about relate issues and
what obstacles could exist and how to preempt them. Technical demos on Ubuntu 20.04 and a Jetson Xavier NX running 18.04 © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
6
IBM Roadrunner ~2009 at Los Alamos National Laboratory, it ran
Red Hat © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
7
Hypothetical cluster setup © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
8
Your predicament © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
9
An ally: Lynis © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
10
But why? Isn’t Linux secure? Yes, by virtue of the
separation of privileges, by design. Users can’t (generally) damage a Linux system, but misconfiguration is a big problem. © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
11
Technical demos Two technical demos, on an Ubuntu 20.04 system
and another on an Nvidia Jetson Xavier NX, which effectively runs 18.04. The only requirement is git. © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
12 Login to a standard Linux account 1. git clone https://github.com/CISOfy/lynis 2. cd lynis 3. ./lynis -V 4. ./lynis audit system
Post audit Collate the reports. Look for serious problems. Get
management buy-in. Sell changes to techies. Talk with technical teams and management, prioritise fixes. Implement stage by stage, small wins first. Look out for gotchas. Plan post change audits. Don’t just look at the technical issues, think about humans and stress! © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
13
Talk links Lynis home https://cisofy.com/lynis/ Lynis on github https://github.com/CISOfy/lynis Lynis
on Wikpedia https://en.wikipedia.org/wiki/Lynis OWASP projects https://owasp.org/projects/ OWASP London https://www.meetup.com/OWASP-London/ © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
14
The End Thank you for participating. Enjoyed the event, slides,
etc? Then please leave a nice comment on Twitter. [NB: All images are copyright of their respective owners.] © Brian Byrne, 2020. Twitter:@BrianLinuxing Email:
[email protected]
15