Chapterبەش 7 · Lectureوانە 7.1

Network Defences: Firewalls, Segmentation, Monitoring and SIEMبەرگرییەکانی ڕایەڵە: ئاگرەدیوار، بەشبەشکردنی ڕایەڵە، چاودێریی ئاسایش و SIEM

How organisations defend the network itself: firewall rules and kinds of firewall, IDS and IPS, network segmentation into zones, VPNs, continuous monitoring and SIEM correlation — and the two network attacks they must stop, denial of service (DoS/DDoS) and man-in-the-middle.

ڕێکخراوەکان چۆن بەرگری لە خودی دەکەن: یاساکانی و جۆرەکانی، IDS و IPS، بۆ چەند ناوچەیەک، ، بەردەوام و بەستنەوەی ڕووداوەکان لە — هەروەها ئەو دوو هێرشەی کە دەبێت ڕابگیرێن: ⁦(DoS/DDoS)⁩ و .

27 min read31 خولەک خوێندنەوە · 22 stepsهەنگاو

What you will learnچی فێر دەبیت

  • Read a firewall rule table and explain deny by default.
  • Compare packet-filter, stateful, next-generation, web-application and host firewalls, and IDS with IPS.
  • Design simple network zones and explain how segmentation limits a breach.
  • Explain what continuous monitoring and a SIEM add, and where SOAR fits.
  • Recognise DoS/DDoS and man-in-the-middle attacks and name their defences.
  • خشتەی یاساکانی بخوێنیتەوە و ڕوون بکەیتەوە.
  • ، ، ، و سەر ئامێر بەراورد بکەیت، هەروەها IDS لەگەڵ IPS.
  • ناوچەی سادەی دیزاین بکەیت و ڕوونی بکەیتەوە چۆن دزەکردن سنووردار دەکات.
  • ڕوونی بکەیتەوە بەردەوام و چی زیاد دەکەن و لە کوێدا جێی دەبێتەوە.
  • هێرشەکانی /DDoS و بناسیتەوە و بەرگرییەکانیان ناو ببەیت.

Defending the network itselfبەرگریکردن لە خودی ڕایەڵە

Almost every attack in this course travels over a network: a phishing e-mail, a worm, a stolen password typed into a login page from far away. So defenders protect the network itself, in several layers. Some layers block traffic, some watch it and raise an alarm, and some divide the network into rooms so that one break-in does not open every door.

نزیکەی هەموو هێرشێکی ئەم کۆرسە بە ناو دەڕوات: ئیمەیڵێکی ، ، دزراو کە لە دوورەوە لە پەڕەیەکی دەنووسرێت. بۆیە بەرگریکاران خودی لە چەند چینێکدا دەپارێزن. هەندێک چین هاتوچۆ ڕادەگرن، هەندێکیان چاودێری دەکەن و ئاگادار دەکەنەوە. هەندێکی تریش دابەش دەکەن بۆ چەند ژوورێک، بۆ ئەوەی یەک دزەکردن هەموو دەرگاکان نەکاتەوە.

The course notes name two network defences: continuous monitoring and network segmentation, with SIEM tools to collect what is seen. This lesson teaches them and adds the tools they work with — firewalls, intrusion detection and prevention, VPNs — and two network attacks they must stop: denial of service and man-in-the-middle.

تێبینییەکانی کۆرسەکە دوو بەرگریی ناو دەبەن: بەردەوام و ، لەگەڵ ئامرازەکانی بۆ کۆکردنەوەی ئەوەی دەبینرێت. ئەم وانەیە ئەوانە فێر دەکات و ئەو ئامرازانەی لەگەڵیاندا کار دەکەن زیاد دەکات — ، دۆزینەوە و ڕێگریکردن لە دزەکردن، — هەروەها دوو هێرشی کە دەبێت ڕابگیرێن: و .

Quick checkپشکنینی خێراWhich two network defences do the course notes themselves name?تێبینییەکانی کۆرسەکە خۆیان کام دوو بەرگریی ناو دەبەن؟

Defending the network itselfبەرگریکردن لە خودی ڕایەڵە

Layers, like a university campusچینەکان، وەک زانکۆیەک

Like the gate and the guards of a university campusوەک دەروازە و پاسەوانەکانی زانکۆیەک

A large university has one main gate where guards check who comes in and where they are going. Inside, the library, the labs and the finance office have their own locked doors, and cameras record the corridors. If a thief gets past the gate, he still cannot walk into the finance office, and the cameras show where he went. A network is defended the same way: a firewall at the gate, segmentation for the inner doors, and monitoring for the cameras.

زانکۆیەکی گەورە یەک دەروازەی سەرەکیی هەیە کە پاسەوانەکان تێیدا دەپشکنن کێ دێتە ژوورەوە و بۆ کوێ دەچێت. لە ناوەوە کتێبخانە، تاقیگەکان و ژووری دارایی هەریەکەیان دەرگای داخراوی خۆیان هەیە و کامێرا ڕاڕەوەکان تۆمار دەکات. ئەگەر دزێک لە دەروازەکە تێپەڕی، هێشتا ناتوانێت بچێتە ژووری داراییەوە و کامێراکان پیشانی دەدەن بۆ کوێ چووە. بە هەمان شێوە دەپارێزرێت: لە دەروازەدا، بۆ دەرگاکانی ناوەوە و لە جیاتی کامێراکان.

Where the analogy stops workingسنووری ئەم نموونەیە

A guard can judge a stranger's face; a firewall only sees addresses, ports and (in newer firewalls) applications. A thief with a real student card walks in — like an attacker with a stolen password.

پاسەوان دەتوانێت لە ڕووخساری کەسێکی نامۆ وردبێتەوە؛ تەنها ناونیشان، و (لە نوێیەکاندا) دەبینێت. دزێک کە کارتی ڕاستەقینەی قوتابیی پێیە دێتە ژوورەوە — وەک کە دزراوی پێیە.

No single layer is enough. This is defence in depth: each layer catches some of what the others miss.

هیچ چینێک بە تەنها بەس نییە. ئەمە بەرگریی چەندچینـە: هەر چینێک هەندێک لەوە دەگرێت کە چینەکانی تر لەدەستی دەدەن.

Quick checkپشکنینی خێراIn the university analogy, what plays the role of network segmentation?لە نموونەی زانکۆکەدا، چی ڕۆڵی دەگێڕێت؟

What a firewall doesئاگرەدیوار چی دەکات

Definitionپێناسە

A program or device that checks network traffic and decides what may go in and out of a private . It works like a guarded door.

بەرنامە یان ئامێرێکە کە هاتوچۆی دراوە دەپشکنێت و بڕیار دەدات چی بۆی هەیە بچێتە ژوورەوە و بچێتە دەرەوەی تایبەت. وەک دەرگایەکی پاسەوانکراو کار دەکات.

A firewall sits between two networks — usually between the Internet and an organisation's network — or on a single computer. It looks at each piece of traffic (each packet) and compares it with a list of rules. Each rule says, for example: from where, to which address, to which port, and then allow or block. The list of rules is the firewall's policy.

لە نێوان دوو دادەنرێت — زۆرجار لە نێوان و ڕێکخراوێکدا — یان لەسەر یەک . سەیری هەر پارچەیەکی هاتوچۆ (هەر ) دەکات و لەگەڵ لیستێکی یاسا بەراوردی دەکات. هەر یاسایەک بۆ نموونە دەڵێت: لە کوێوە، بۆ کام ناونیشان، بۆ کام و پاشان ڕێگەبدە یان ڕابگرە. لیستی یاساکان سیاسەتی .

  • Rules are checked from top to bottom, and in most firewalls the first rule that matches decides. So the order of the rules matters.
  • The last rule should be deny by default: anything not expressly allowed is blocked. NIST's firewall guide recommends this for traffic in both directions.
  • Outbound rules matter too: a PC that should never send e-mail directly, or talk to unknown servers abroad, should be stopped from doing it. This blocks much malware from "calling home".
  • Every decision can be logged. The firewall's logs are one of the most useful sources for monitoring, as you will see below.
  • یاساکان لە سەرەوە بۆ خوارەوە دەپشکنرێن و لە زۆربەی یەکەم یاسا کە دەگونجێت بڕیار دەدات. بۆیە ڕیزبەندیی یاساکان گرنگە.
  • دوا یاسا دەبێت بێت: هەر شتێک بە ئاشکرا ڕێگەی پێ نەدرابێت ڕادەگیرێت. ڕێبەری NIST ئەمە بۆ هاتوچۆ لە هەردوو ئاراستەدا پێشنیار دەکات.
  • یاساکانی دەرچوونیش گرنگن: کە هەرگیز نابێت ڕاستەوخۆ ئیمەیڵ بنێرێت یان قسە لەگەڵ نەناسراو لە دەرەوەی وڵات بکات، دەبێت ڕێگەی لێ بگیرێت. ئەمە ڕێ لە زۆر دەگرێت کە «پەیوەندی بە ماڵەوە بکات».
  • هەموو بڕیارێک دەکرێت لە تۆمار بکرێت. یەکێکن لە بەسوودترین سەرچاوەکان بۆ ، وەک لە خوارەوە دەیبینیت.
Animation of a firewall between the Internet and an office. Its rule list reads: 1 allow Internet to the web server on port 443; 2 allow replies to requests from inside; 3 block guest Wi-Fi to the office servers; 4 deny everything else. Packets arrive one by one: a web request to port 443 passes (rule 1); a remote-desktop attempt from the Internet to a staff PC on port 3389 is blocked by the default rule and counted; a reply to a page the staff PC asked for passes (rule 2, stateful); a guest phone trying to reach the payroll server is blocked (rule 3, segmentation); three login attempts from the Internet to the payroll server are blocked. A SIEM panel counts five blocked attempts and sends an alert to the security team. The last frame sums up: 2 allowed, 5 blocked, 1 alert.
Animation of a firewall between the Internet and an office. Its rule list reads: 1 allow Internet to the web server on port 443; 2 allow replies to requests from inside; 3 block guest Wi-Fi to the office servers; 4 deny everything else. Packets arrive one by one: a web request to port 443 passes (rule 1); a remote-desktop attempt from the Internet to a staff PC on port 3389 is blocked by the default rule and counted; a reply to a page the staff PC asked for passes (rule 2, stateful); a guest phone trying to reach the payroll server is blocked (rule 3, segmentation); three login attempts from the Internet to the payroll server are blocked. A SIEM panel counts five blocked attempts and sends an alert to the security team. The last frame sums up: 2 allowed, 5 blocked, 1 alert.
A firewall checks each packet against its rules from top to bottom; segmentation rules and the SIEM work with it. هەر لەگەڵ یاساکانی لە سەرەوە بۆ خوارەوە بەراورد دەکات؛ یاساکانی و لەگەڵیدا کار دەکەن.CêIT
Quick checkپشکنینی خێراA firewall's rules are: 1 allow web traffic to the web server on port 443; 2 deny everything else. A packet arrives from the Internet for a staff PC on port 3389 (remote desktop). What happens?یاساکانی ئەمانەن: 1 ڕێگە بە هاتوچۆی وێب بدە بۆ لەسەر ⁦443⁩؛ 2 هەموو شتێکی تر ڕابگرە. لە دەگات بۆ کارمەندێک لەسەر ⁦3389⁩ (). چی ڕوو دەدات؟

What is a Firewall? | Traditional + Next GenerationCertBros · Englishئینگلیزی · 119K viewsبینین · 3.5K likesلایک

What a firewall does, how its rules allow or block traffic, how a stateful firewall remembers connections, and what newer all-in-one firewalls add.

چی دەکات، ڕێساکانی چۆن ڕێگە بە هاتوچۆ دەدەن یان دەیوەستێنن، بە چۆن پەیوەندییەکان لەبیر دەگرێت، هەروەها چی زیاد دەکەن.

Rules at 2:00, stateful firewalls at 4:11, all-in-one (UTM) firewalls at 6:30.

ڕێساکان لە ⁦2:00⁩، بە لە ⁦4:11⁩، ⁦(UTM)⁩ لە ⁦6:30⁩.

What a firewall doesئاگرەدیوار چی دەکات

Reading a rule tableخوێندنەوەی خشتەی یاساکان

Real firewalls show their policy as a table. Here is a small office's inbound policy, written in plain words. Read it from the top:

ڕاستەقینە سیاسەتەکەیان وەک خشتە پیشان دەدەن. ئەمە سیاسەتی هاتنە ژوورەوەی ئۆفیسێکی بچووکە، بە وشەی سادە نووسراوە. لە سەرەوە دەستی پێ بکە:

A simple inbound policy (illustration)سیاسەتێکی سادەی هاتنە ژوورەوە (نموونە)
#FromلەToبۆPort / service / خزمەتگوزاریActionبڕیار
1Anywhereهەر شوێنێکWeb server443 (HTTPS)Allowڕێگەبدە
2Staff network کارمەندانDatabase server database port onlyتەنها Allowڕێگەبدە
3Guest Wi-Fi میوانانAny office serverهەر ئۆفیسanyهەمووBlockڕابگرە
4Anywhereهەر شوێنێکAnywhereهەر شوێنێکanyهەمووBlock (default)ڕابگرە (بنەڕەت)
Quick checkپشکنینی خێراA visitor's phone on the guest Wi-Fi tries to open the database server. Which rule decides, and what happens?مۆبایلی میوانێک لەسەر میوانان هەوڵ دەدات بکاتەوە. کام یاسا بڕیار دەدات و چی ڕوو دەدات؟

Kinds of firewallجۆرەکانی ئاگرەدیوار

Firewalls have grown smarter over the years. Each newer kind can see more about the traffic, so it can make better decisions — but it also needs more computing power and more care to set up.

بە درێژایی ساڵان زیرەکتر بوون. هەر جۆرێکی نوێتر دەتوانێت زیاتر دەربارەی هاتوچۆکە ببینێت، بۆیە بڕیاری باشتر دەدات — بەڵام هێزی ژمێرکاریی زیاتر و وریایی زیاتری لە ڕێکخستندا دەوێت.

Five kinds of firewallپێنج جۆری
KindجۆرWhat it looks atسەیری چی دەکاتGood atباشە بۆBlind toنایبینێت
Each packet alone: source and destination address, port, protocolهەر بە تەنها: ناونیشانی سەرچاوە و مەبەست، ، Fast, simple rulesخێرا، یاسای سادەWhether a packet belongs to a real conversation; what is insideئایا سەر بە گفتوگۆیەکی ڕاستەقینەیە؛ چی لە ناویدایە
Also remembers each open connection in a state tableهەروەها هەر پەیوەندییەکی کراوە لە خشتەیەکی تایبەتدا (state table) لە بیر دەکاتLets replies back in automatically; drops fake "replies" nobody asked forوەڵامەکان بە شێوەی خۆکار ڕێگە پێ دەدات؛ «وەڵامی» ساختە کە کەس داوای نەکردووە فڕێ دەداتAttacks hidden inside allowed trafficئەو هێرشانەی لە ناو هاتوچۆی ڕێگەپێدراودا شاردراونەتەوە
(NGFW)The application and often the user behind the traffic و زۆرجار ئەو بەکارهێنەرەی لە پشت هاتوچۆکەیە"Allow the accounting app, block file-sharing apps, even on port 443"; often has a built-in IPS and malware checks«ڕێگە بە ئەپی ژمێریاری بدە، ئەپەکانی هاوبەشکردنی فایل ڕابگرە، تەنانەت لەسەر ⁦443⁩»؛ زۆرجار و پشکنینی تێدایەBadly written rules; stolen passwordsیاسای خراپ نووسراو؛ دزراو
(WAF)The content of web requests to one websiteناوەڕۆکی داواکارییەکانی وێب بۆ یەک Blocking SQL injection and XSS patternsڕاگرتنی شێوازەکانی و Flaws it has no pattern for; not a replacement for secure codeهەر کە شێوازی بۆ نییە؛ جێگرەوەی کۆدی سەلامەت نییە
Host-based (personal) firewall سەر ئامێر (کەسی)Traffic of one computerهاتوچۆی یەک Protecting a laptop on hotel or café Wi-Fiپاراستنی لەسەر هوتێل یان کافێEverything else on the networkهەموو شتێکی تری سەر

Organisations usually combine them: an NGFW at the Internet edge, internal firewalls between zones, a WAF in front of the public website (see Injection attacks) and a host firewall switched on in every laptop.

ڕێکخراوەکان زۆرجار تێکەڵیان دەکەن: لە لێواری ، ناوخۆیی لە نێوان ناوچەکاندا، لە پێش گشتییەکەوە (بڕوانە هێرشەکانی تێخزاندن) و سەر ئامێر کە لە هەموو هەڵکراوە.

Quick checkپشکنینی خێراStaff are using a forbidden file-sharing app that hides its traffic on port 443, like normal web traffic. Which kind of firewall can tell the difference?کارمەندان ئەپێکی قەدەغەکراوی هاوبەشکردنی فایل بەکار دەهێنن کە هاتوچۆکەی لەسەر ⁦443⁩ دەشارێتەوە، وەک هاتوچۆی ئاسایی وێب. کام جۆری دەتوانێت جیاوازییەکە بزانێت؟

IDS and IPS: the alarm and the guardIDS و IPS: زەنگی ئاگادارکەرەوە و پاسەوان

A firewall decides by rules about where traffic goes. Some attacks travel along allowed paths: a request to the public website that carries an attack, or a staff laptop that suddenly talks like infected malware. To catch these, organisations add intrusion detection and prevention.

بەپێی یاسا بڕیار دەدات کە هاتوچۆ بۆ کوێ دەڕوات. هەندێک هێرش بە ڕێگا ڕێگەپێدراوەکاندا دەڕۆن: داواکارییەک بۆ گشتییەکە کە هێرشێکی تێدایە، یان کارمەندێک کە لەناکاو وەک قسە دەکات. بۆ گرتنی ئەمانە، ڕێکخراوەکان دۆزینەوە و ڕێگریکردن لە دزەکردن زیاد دەکەن.

Detect or prevent?دۆزینەوە یان ڕێگریکردن؟
AspectلایەنIDS — IPS —
Where it sitsلە کوێ دادەنرێتBeside the traffic: it receives a copyلە تەنیشت هاتوچۆکەوە: کۆپییەک وەردەگرێتInside the path: all traffic goes through itلە ناو ڕێگاکەدا: هەموو هاتوچۆیەک بە ناویدا تێدەپەڕێت
What it doesچی دەکاتRaises an alert for people to checkئاگادارکردنەوە دەدات بۆ ئەوەی خەڵک بیپشکننBlocks the bad traffic at once (and alerts)یەکسەر هاتوچۆ خراپەکە ڕادەگرێت (و ئاگادار دەکاتەوە)
If it is wrongئەگەر هەڵە بکاتA false alarm wastes an analyst's timeئاگادارکردنەوەی هەڵە کاتی شیکەرەوەیەک بەفیڕۆ دەداتA false alarm blocks real customersئاگادارکردنەوەی هەڵە کڕیارە ڕاستەقینەکان ڕادەگرێت
Everyday pictureوێنەی ڕۆژانەA shop's camera with an alarm bellکامێرای دوکانێک لەگەڵ زەنگی ئاگادارکەرەوەA guard at the door who stops the thiefپاسەوانێک لە دەرگاکەدا کە دزەکە ڕادەگرێت

Both can watch the network (network-based) or run on one computer (host-based). Modern endpoint tools (EDR) do host-based detection on laptops and servers; see Malware.

هەردووکیان دەتوانن چاودێریی بکەن (لەسەر ) یان لەسەر یەک کار بکەن (لەسەر ئامێر). ئامرازە نوێیەکانی پاراستنی ئامێر () دۆزینەوەی سەر ئامێر لەسەر و دەکەن؛ بڕوانە نەرمەواڵەی زیانبەخش.

Quick checkپشکنینی خێراA hospital worries that a wrong block could stop doctors from reaching patient records during an emergency. For a new detection rule that is not yet well tested, which is the safer start?نەخۆشخانەیەک نیگەرانە کە ڕاگرتنێکی هەڵە ڕێ لە پزیشکان بگرێت لە کاتی فریاکەوتندا بگەنە تۆماری نەخۆشەکان. بۆ یاسایەکی نوێی دۆزینەوە کە هێشتا باش تاقی نەکراوەتەوە، کامیان سەرەتایەکی سەلامەتترە؟

IDS and IPS: the alarm and the guardIDS و IPS: زەنگی ئاگادارکەرەوە و پاسەوان

How an IDS recognises attacks — and how attackers hideIDS چۆن هێرش دەناسێتەوە — و هێرشبەرەکان چۆن خۆیان دەشارنەوە

  • Signature-based detection compares traffic with patterns of known attacks, like antivirus. It is accurate for known attacks, but blind to new ones.
  • Anomaly-based detection first learns what is normal (a baseline) and then flags what is unusual: a printer that suddenly sends gigabytes to another country. It can catch new attacks, but it makes more false positives, the same trade-off you met in False alarms and misses.
  • هاتوچۆ لەگەڵ شێوازی هێرشە ناسراوەکان بەراورد دەکات، وەک . بۆ هێرشە ناسراوەکان وردە، بەڵام هێرشە نوێیەکان نابینێت.
  • سەرەتا فێر دەبێت چی ئاساییە (بنەمای ئاسایی) و پاشان ئەوەی نائاساییە نیشانە دەکات: کە لەناکاو گیگابایت دەنێرێت بۆ وڵاتێکی تر. دەتوانێت هێرشی نوێ بگرێت، بەڵام زیاتر دروست دەکات؛ هەمان هاوسەنگییە کە لە ئاگادارکردنەوەی هەڵە و لەدەستچووندا بینیت.

Attackers know about IDSs and try to slip past them. Two old tricks: flooding the IDS with so much traffic, or so many fake alerts, that it cannot inspect everything and the real attack hides in the noise; and sending the attack along a path no sensor watches, for example by splitting the traffic over different routes (asymmetric routing), so no single sensor sees the whole conversation. Defenders place sensors where all traffic must pass, give the IDS enough capacity, raise an alarm when it starts dropping packets, and add host-based detection (EDR) as a second view.

IDS دەناسن و هەوڵ دەدەن لێی دەرباز ببن. دوو فێڵی کۆن هەن: نوقمکردن — ئەوەندە هاتوچۆ، یان ئەوەندە ئاگادارکردنەوەی ساختە، دەنێرن کە IDS نەتوانێت هەمووی بپشکنێت و هێرشە ڕاستەقینەکە لە ناو ژاوەژاوەکەدا ون ببێت؛ هەروەها ناردنی هێرشەکە بە ڕێگایەکدا کە هیچ چاودێریی ناکات، بۆ نموونە بە دابەشکردنی هاتوچۆکە بەسەر چەند ڕێگایەکی جیاوازدا (asymmetric routing)، بۆ ئەوەی هیچ هەموو گفتوگۆکە نەبینێت. بەرگریکاران لەو شوێنانە دادەنێن کە هەموو هاتوچۆیەک دەبێت پێیاندا تێپەڕێت، توانای پێویست دەدەنە IDS، کاتێک دەست دەکات بە فڕێدانی ئاگادار دەکەنەوە و دۆزینەوەی سەر ئامێر () وەک دیمەنێکی دووەم زیاد دەکەن.

Quick checkپشکنینی خێراDuring an attack, the IDS suddenly receives far more traffic than it can inspect and starts dropping packets. What is the attacker most likely trying to do?لە کاتی هێرشێکدا، IDS لەناکاو زۆر زیاتر لەوەی دەتوانێت بیپشکنێت هاتوچۆ وەردەگرێت و دەست دەکات بە فڕێدانی . بە ئەگەری زۆر هەوڵی چی دەدات؟

Network segmentation: rooms with locked doorsبەشبەشکردنی ڕایەڵە: ژووری دەرگا داخراو

Definitionپێناسە

Dividing a into separate parts, such as guest Wi-Fi, staff computers and servers, with rules between them, so that an attacker who gets into one part cannot easily reach the others.

دابەشکردنی بۆ چەند بەشێکی جیا، وەک میوانان، کۆمپیوتەری کارمەندان و ، بە ڕێسا لە نێوانیاندا، بۆ ئەوەی کە دەچێتە ناو بەشێکەوە بە ئاسانی نەگاتە بەشەکانی تر.

A flat network is one big room: every device can talk to every other device. If one laptop is infected, the attacker can reach the payroll server, the backups and the cameras. Segmentation splits the network into zones and puts rules between them. The course gives it two purposes:

تەخت یەک ژووری گەورەیە: هەموو ئامێرێک دەتوانێت قسە لەگەڵ هەموو ئامێرێکی تر بکات. ئەگەر یەک تووش ببێت، دەتوانێت بگاتە مووچە، و کامێراکان. دابەش دەکات بۆ چەند ناوچەیەک و یاسا لە نێوانیاندا دادەنێت. کۆرسەکە دوو ئامانجی بۆ دیاری دەکات:

  • Isolation — a smaller attack surface. Sensitive systems and data are kept apart from less secure areas, so a breach in one zone stays in that zone. The attacker cannot simply move sideways (security people call this lateral movement).
  • Control and visibility. Traffic between zones must pass a firewall or filter, so the team decides exactly who may talk to whom — and every crossing can be logged and watched.
  • جیاکردنەوە — بچووکتر. سیستەم و هەستیارەکان لە ناوچە کەمتر پارێزراوەکان جیا دەکرێنەوە، بۆیە دزەکردن لە ناوچەیەکدا لە هەمان ناوچەدا دەمێنێتەوە. ناتوانێت بە ئاسانی بە لادا بجووڵێت (پسپۆڕانی ئاسایش پێی دەڵێن ).
  • کۆنترۆڵ و بینین. هاتوچۆی نێوان ناوچەکان دەبێت بە یان فلتەرێکدا تێپەڕێت، بۆیە تیمەکە بە وردی بڕیار دەدات کێ دەتوانێت قسە لەگەڵ کێ بکات — هەروەها هەموو تێپەڕینێک دەکرێت تۆمار بکرێت و چاودێری بکرێت.
An office network divided into four zones under one firewall connected to the Internet. The DMZ holds the public web server and accepts only port 443 from the Internet. The server zone holds payroll and the customer database; the DMZ may reach it on the database port only, and the staff network only for the applications it needs. The guest Wi-Fi with visitors' phones is blocked from the server zone but may go out to the Internet. A note says that an infected guest phone cannot reach payroll and a hacked web server still meets a wall.ڕایەڵەیەکی ئۆفیس کە بۆ چوار ناوچە دابەش کراوە، لە ژێر یەک ئاگرەدیوار کە بە ئینتەرنێتەوە بەستراوە. DMZ ڕاژەکاری وێب گشتییەکەی تێدایە و لە ئینتەرنێتەوە تەنها پۆرتی 443 وەردەگرێت. ناوچەی ڕاژەکارەکان مووچە و بنکەدراوەی کڕیارانی تێدایە؛ DMZ تەنها لە ڕێگەی پۆرتی بنکەدراوەوە دەگاتێ و ڕایەڵەی کارمەندانیش تەنها بۆ ئەو ئەپانەی پێویستیەتی. وای‌فایی میوانان لەگەڵ مۆبایلی سەردانکەران لە ناوچەی ڕاژەکارەکان ڕاگیراوە، بەڵام دەتوانێت بچێتە دەرەوە بۆ ئینتەرنێت. تێبینییەک دەڵێت مۆبایلێکی تووشبووی میوان ناگاتە مووچە و ڕاژەکارێکی وێبی هاککراو هێشتا بە دیوارێک دەگات.
One office, four zones: each arrow is a firewall rule.یەک ئۆفیس، چوار ناوچە: هەر تیرێک یاسایەکی .CêIT
Quick checkپشکنینی خێراRansomware infects one laptop on a flat network. In a second office the same laptop sits in a staff zone that can reach only the e-mail and accounting servers. Why is the second office better off? لە تەختدا یەک تووش دەکات. لە ئۆفیسێکی دووەمدا هەمان لە ناوچەی کارمەنداندایە کە تەنها دەگاتە ئیمەیڵ و ژمێریاری. بۆچی ئۆفیسی دووەم باشترە؟

Network segmentation: rooms with locked doorsبەشبەشکردنی ڕایەڵە: ژووری دەرگا داخراو

Zones: DMZ, VLANs and microsegmentationناوچەکان: DMZ، VLAN و بەشبەشکردنی ورد

  • A DMZ (demilitarised zone) is a small zone for servers that the Internet must reach, such as the public website. It is exposed, so it gets the least trust.
  • Zones are built with separate subnets or VLANs (virtual networks that share the same switches) and with firewall rules between them.
  • A device that cannot be patched — an old machine that runs a factory line, a medical scanner — is put in its own small zone, where almost nothing can reach it.
  • Taken to the limit, every system gets its own tiny zone (microsegmentation), the network form of zero trust.
  • ناوچەیەکی بچووکە بۆ هەر کە دەبێت پێی بگات، وەک گشتییەکە. ئاشکرایە، بۆیە کەمترین متمانەی پێ دەدرێت.
  • ناوچەکان بە ژێرڕایەڵەی جیاواز یان بە ( مەجازی کە لەگەڵ ئەوانی تر هەمان بەکار دەهێنێت) و بە یاسای لە نێوانیاندا دروست دەکرێن.
  • ئامێرێک کە ناتوانرێت بکرێت — ئامێرێکی کۆن کە هێڵێکی کارگە بەڕێوە دەبات، سکانەرێکی پزیشکی — دەخرێتە ناوچەیەکی بچووکی تایبەت بە خۆی، کە نزیکەی هیچ شتێک ناگاتێ.
  • ئەگەر تا کۆتایی ببرێت، هەر سیستەمێک ناوچەیەکی زۆر بچووکی خۆی هەیە (بەشبەشکردنی ورد)، کە شێوەی متمانەی سفرـە.
Quick checkپشکنینی خێراWhere should a company put its public web server, which the whole Internet must reach?کۆمپانیایەک گشتییەکەی لە کوێ دابنێت، کە هەموو دەبێت پێی بگات؟

VPNs: a protected tunnel across the InternetVPN: تونێلێکی پارێزراو بە ناو ئینتەرنێتدا

A VPN (virtual private network) builds an encrypted tunnel between two points across the Internet: a member of staff working from home and the office, or two branches of a bank. What a VPN is and how the tunnel is made is explained in Private networks: VPN; here we look at its security role.

تونێلێکی شفرەکراو لە نێوان دوو خاڵدا بە ناو دروست دەکات: کارمەندێک کە لە ماڵەوە کار دەکات و ئۆفیسەکە، یان دوو لقی بانکێک. چییە و تونێلەکە چۆن دروست دەکرێت لە ڕایەڵە تایبەتەکان: VPN ڕوون کراوەتەوە؛ لێرە سەیری ڕۆڵی ئاسایشیی دەکەین.

  • It protects data in transit. Anyone listening on the café Wi-Fi or along the way sees only scrambled data. This is a defence against eavesdropping and man-in-the-middle attacks (below).
  • It is a door into the network. The VPN gateway faces the whole Internet and lets people inside. That makes it a favourite target: VPN products appear again and again in CISA's list of exploited vulnerabilities.
  • So the VPN gateway must be patched first when a fix appears (see Which one first?), every VPN account needs MFA, and old unused accounts must be removed. A single legacy VPN account without MFA was the way into Colonial Pipeline in 2021 (see the Colonial Pipeline case).
  • لە کاتی گواستنەوەدا دەپارێزێت. هەر کەسێک لەسەر کافێکە یان لە ڕێگادا گوێ بگرێت تەنها تێکەڵکراو دەبینێت. ئەمە بەرگرییە دژی و (لە خوارەوە).
  • دەرگایەکە بۆ ناو . دەروازەی ڕووی لە هەموو و ڕێگە بە خەڵک دەدات بچنە ژوورەوە. ئەمە دەیکات بە ئامانجێکی دڵخواز: بەرهەمەکانی جار لە دوای جار لە CISAـدا دەردەکەون.
  • بۆیە دەبێت دەروازەی یەکەم جار بکرێت کاتێک چارەسەرێک دەردەچێت (بڕوانە کامیان یەکەم؟)، هەموو هەژمارێکی پێویستی بە MFA هەیە و هەژمارە کۆنە بەکارنەهێنراوەکان دەبێت لاببرێن. تەنها یەک هەژماری کۆنی بەبێ MFA ڕێگای چوونە ناو ⁦Colonial Pipeline⁩ بوو لە ساڵی ⁦2021⁩دا (بڕوانە ڕووداوی ⁦Colonial Pipeline⁩).
Quick checkپشکنینی خێراThe VPN maker publishes an urgent fix for a flaw that criminals are already using. The company's VPN gateway is on the Internet. What should happen?دروستکەری چارەسەرێکی بەپەلە بۆ بڵاو دەکاتەوە کە تاوانباران پێشتر بەکاری دەهێنن. دەروازەی کۆمپانیاکە لەسەر . چی دەبێت بکرێت؟

ڤیپیئێن - VPN چییە؟ZagrosByte · Kurdish (Sorani)کوردی (سۆرانی) · 6.2K viewsبینین · 242 likesلایک

In Kurdish (Sorani): what a VPN (virtual private network) is and what people use one for.

بە کوردیی سۆرانی: ( تایبەتی گریمانەیی) چییە و خەڵک بۆ چی بەکاری دەهێنن.

Kurdish (Sorani) introduction to what a VPN is, by the ZagrosByte (CyberKurd) channel; it does not cover this screen's points on patching the VPN gateway and MFA.

ناساندنێکی کوردی (سۆرانی) بۆ ئەوەی چییە، لە کەناڵی ⁦ZagrosByte (CyberKurd)⁩ـەوە؛ خاڵەکانی ئەم شاشەیە دەربارەی و ناگرێتەوە.

Continuous monitoring: watching all the timeچاودێریی ئاسایشی بەردەوام: چاودێری لە هەموو کاتێکدا

Firewalls and segmentation prevent. But no prevention is perfect, so defenders also watch. The course names two benefits of continuous monitoring:

و ڕێگری دەکەن. بەڵام هیچ ڕێگرییەک تەواو نییە، بۆیە بەرگریکاران چاودێریش دەکەن. کۆرسەکە دوو سوودی بەردەوام ناو دەبات:

  • Real-time visibility: the team sees what is happening on its systems now, so it can detect and respond to threats promptly.
  • Proactive threat detection: an attack is caught early — the first strange login, the first scan of the network — before it causes significant damage.
  • بینینی ڕاستەوخۆ: تیمەکە دەبینێت ئێستا چی لەسەر سیستەمەکانی ڕوو دەدات، بۆیە دەتوانێت بە خێرایی بدۆزێتەوە و وەڵامیان بداتەوە.
  • دۆزینەوەی پێشوەختەی : هێرش زوو دەگیرێت — یەکەم نامۆ، یەکەم پشکنینی — پێش ئەوەی زیانی گەورە بگەیەنێت.

What is watched? Mostly logs: records that systems write about what happened, when and by whom. Typical sources are the firewall, the IDS/IPS, VPN and Wi-Fi logins, servers, e-mail filters, antivirus/EDR on laptops and cloud accounts. Teams first learn what is normal for their network, because an attack usually shows up as something unusual.

سەیری چی دەکرێت؟ زۆربەی جار : تۆمارانێک کە سیستەمەکان دەینووسن دەربارەی ئەوەی چی ڕووی دا، کەی و لەلایەن کێوە. سەرچاوە باوەکان ، ⁦IDS/IPS⁩، و ، ، فلتەرەکانی ئیمەیڵ، / لەسەر و هەژمارەکانی هەورن. تیمەکان سەرەتا فێر دەبن چی بۆ ئاساییە، چونکە هێرش زۆرجار وەک شتێکی نائاسایی دەردەکەوێت.

Quick checkپشکنینی خێراAn attacker logs in with a stolen password at 3 a.m. and starts copying files. Which defence is most likely to notice this? لە کاتژمێر 3ی بەرەبەیاندا بە دزراو دێتە ژوورەوە و دەست بە کۆپیکردنی فایلەکان دەکات. کام بەرگری بە ئەگەری زۆرتر ئەمە هەست پێ دەکات؟

SIEM: collecting and connecting the cluesSIEM: کۆکردنەوە و بەستنەوەی سەرەداوەکان

Definitionپێناسە

A system that collects from many computers, network devices and programs in one place, links related events together and raises alerts about possible attacks.

سیستەمێکە کە لە زۆر کۆمپیوتەر، ئامێری ڕایەڵە و بەرنامەوە لە یەک شوێندا کۆ دەکاتەوە، ڕووداوە پەیوەندیدارەکان پێکەوە دەبەستێتەوە و دەربارەی هێرشە ئەگەرییەکان ئاگادارکردنەوە دەدات.

A large organisation produces millions of log lines a day — far too many for people to read. A SIEM (security information and event management) tool collects security data from many sources into one place and analyses it to detect suspicious activity. In order, it:

ڕێکخراوێکی گەورە ڕۆژانە ملیۆنان دێڕی بەرهەم دەهێنێت — زۆر زیاترە لەوەی خەڵک بیخوێننەوە. ئامرازێکی ئاسایش لە زۆر سەرچاوەوە لە یەک شوێندا کۆ دەکاتەوە و شیکاریی بۆ دەکات بۆ دۆزینەوەی چالاکیی گوماناوی. بە ڕیز:

What a SIEM doesSIEM چی دەکات
  1. Collectsکۆ دەکاتەوە

    Receives logs from firewalls, servers, VPN, laptops, cloud services.

    لە ، ، ، و خزمەتگوزارییەکانی هەورەوە وەردەگرێت.

  2. Normalisesیەکدەست دەکات

    Turns many different formats into one, with the same time zone.

    زۆر شێوازی جیاواز دەکات بە یەک شێواز، بە هەمان .

  3. Correlatesدەیانبەستێتەوە بە یەکەوە

    Connects events that are harmless alone but suspicious together, using rules.

    بە یاسا ڕووداوەکان بە یەکەوە دەبەستێتەوە کە بە تەنها بێزیانن بەڵام پێکەوە گوماناوین.

  4. Alertsئاگادار دەکاتەوە

    Raises an alert, with the evidence attached, for an analyst to check.

    دەدات، لەگەڵ بەڵگەکان، بۆ ئەوەی شیکەرەوەیەک بیپشکنێت.

  5. Storesهەڵیدەگرێت

    Keeps the logs for months, so investigators can look back later.

    بۆ چەند مانگێک هەڵدەگرێت، بۆ ئەوەی لێکۆڵەرەوەکان دواتر سەیری ڕابردوو بکەن.

Quick checkپشکنینی خێراLogs arrive from a firewall in UTC and from laptops in local time, each in its own format. Which SIEM step makes them comparable? لە بە کاتی UTC و لە بە کاتی ناوخۆیی دێن، هەر یەکەیان بە شێوازی خۆی. کام هەنگاوی بەراوردکردنیان دەکات بە شتێکی گونجاو؟

SIEM: collecting and connecting the cluesSIEM: کۆکردنەوە و بەستنەوەی سەرەداوەکان

Correlation rules and automatic actionsیاساکانی بەستنەوە و هەنگاوی خۆکار

An example correlation rule: "Six failed logins to one account, then a successful login from a country where the company has no staff, then a large download — within one hour." Each event alone is common; together they look like a stolen password. The SIEM can also trigger actions based on predefined rules, which the course mentions as automated incident response.

نموونەیەکی یاسای بەستنەوە: «شەش سەرنەکەوتوو بۆ یەک هەژمار، پاشان سەرکەوتوو لە وڵاتێکەوە کە کۆمپانیاکە هیچ کارمەندێکی تێدا نییە، پاشان دابەزاندنێکی گەورە — هەمووی لە یەک کاتژمێردا.» هەر ڕووداوێک بە تەنها باوە؛ پێکەوە وەک دزراو دەردەکەون. دەتوانێت بەپێی یاسای پێشوەختە هەنگاوی خۆکاریش بنێت، کە کۆرسەکە وەک خۆکار ناوی دەبات.

Quick checkپشکنینی خێراWhich job belongs to the SIEM's correlation step?کام کار سەر بە هەنگاوی بەستنەوەی ؟

DoS and DDoS: drowning a serviceڕێگەگرتن لە خزمەتگوزاری و DDoS: نوقمکردنی خزمەتگوزارییەک

Some attackers do not want to steal anything. They want a service to stop working: the bank's app on salary day, a ministry's website, an online exam. A denial-of-service (DoS) attack floods a server or network with so much traffic or so many requests that real users cannot get through. It attacks availability, the A of the CIA triad.

هەندێک نایانەوێت هیچ شتێک بدزن. دەیانەوێت خزمەتگوزارییەک لە کار بکەوێت: ئەپی بانکەکە لە ڕۆژی مووچەدا، وەزارەتێک، تاقیکردنەوەیەکی ئۆنلاین. هێرشی ⁦(DoS)⁩ یان بە ئەوەندە هاتوچۆ یان داواکاری نوقم دەکات کە بەکارهێنەرە ڕاستەقینەکان ناتوانن تێپەڕن. هێرش دەکاتە سەر ، واتە Aـی سێگۆشەی CIA.

  • In a DoS the flood comes from one source (or a few). Blocking that address usually stops it.
  • In a DDoS (distributed denial of service) it comes from thousands of devices at once — usually a botnet of infected PCs, cameras and routers (see Botnets). Blocking one address does not help, and the attack traffic is mixed with real users.
  • لە لافاوەکە لە یەک سەرچاوەوە دێت (یان چەند دانەیەک). ڕاگرتنی ئەو ناونیشانە زۆرجار دەیوەستێنێت.
  • لە ⁦(DDoS)⁩ لە هەزاران ئامێرەوە پێکەوە دێت — زۆرجار لە ، کامێرا و تووشبوو (بڕوانە بۆتنێتەکان). ڕاگرتنی یەک ناونیشان سوودی نییە و هاتوچۆی هێرشەکە لەگەڵ بەکارهێنەرە ڕاستەقینەکاندا تێکەڵ دەبێت.
Three panels. DoS: one attacker sends a flood to a website; blocking one address stops it. DDoS: many infected PCs, cameras and IoT devices of a botnet flood the same website; thousands of addresses, so blocking one does not help. With DDoS protection: the flood first reaches a filtering service or CDN that drops it, and only clean traffic reaches the website, so real visitors still get through. A bar at the bottom: the goal of the attack is availability; nothing is stolen, the service is simply drowned.سێ بەش. ڕێگەگرتن لە خزمەتگوزاری: یەک هێرشبەر لافاوێک دەنێرێت بۆ تۆڕگەیەک؛ ڕاگرتنی یەک ناونیشان دەیوەستێنێت. DDoS: زۆر کۆمپیوتەر، کامێرا و ئامێری ئینتەرنێتی شتەکانی تووشبووی بۆتنێتێک هەمان تۆڕگە نوقم دەکەن؛ هەزاران ناونیشانن، بۆیە ڕاگرتنی یەکێکیان سوودی نییە. لەگەڵ پاراستنی DDoS: لافاوەکە سەرەتا دەگاتە خزمەتگوزارییەکی فلتەرکردن یان ڕایەڵەی گەیاندنی ناوەڕۆک کە فڕێی دەدات و تەنها هاتوچۆی پاک دەگاتە تۆڕگەکە، بۆیە سەردانکەرە ڕاستەقینەکان هێشتا دەگەنە ژوورەوە. هێڵێک لە خوارەوە: ئامانجی هێرشەکە بەردەستبوونە؛ هیچ شتێک نادزرێت، تەنها خزمەتگوزارییەکە نوقم دەکرێت.
DoS, DDoS and the defence.، DDoS و بەرگری.CêIT
Quick checkپشکنینی خێراA website is flooded at the same moment by traffic from 30,000 hacked home cameras and routers. What is this? لە یەک کاتدا بە هاتوچۆی ⁦30,000⁩ کامێرا و ماڵەوەی هاککراو نوقم دەکرێت. ئەمە چییە؟

How a DDOS Attack Works. How Hackers Can Bring Down a Website or Server.PowerCert Animated Videos · Englishئینگلیزی · 76K viewsبینین · 2.5K likesلایک

How DoS and DDoS floods knock a server offline, how to spot one, and three defences: rate limiting, a web application firewall and load balancing.

چۆن DoS و DDoS بە لافاوی لە کار دەخەن، چۆن دەیانناسیتەوە و سێ بەرگری: ، و دابەشکردنی فشار.

DoS vs DDoS at 3:58; how to identify one at 5:13; defences from 6:00 (rate limiting 6:24, WAF 7:03, load balancer 7:47).

جیاوازیی DoS و DDoS لە ⁦3:58⁩؛ چۆن دەیناسیتەوە لە ⁦5:13⁩؛ ڕێگاکانی بەرگری لە ⁦6:00⁩ ( ⁦6:24⁩، ⁦7:03⁩، دابەشکەری فشار ⁦7:47⁩).

DoS and DDoS: drowning a serviceڕێگەگرتن لە خزمەتگوزاری و DDoS: نوقمکردنی خزمەتگوزارییەک

Three kinds of DDoSسێ جۆری DDoS

Three kinds of DDoS (CISA, FBI and MS-ISAC guide, 2024)سێ جۆری DDoS (ڕێبەری CISA، FBI و ⁦MS-ISAC⁩، ⁦2024⁩)
Type (CISA)جۆر ⁦(CISA)⁩What is used upچی تەواو دەکرێتEveryday pictureوێنەی ڕۆژانە
VolumetricقەبارەییThe bandwidth of the connection پەیوەندییەکەSo many cars that the road to the shop is jammedئەوەندە ئۆتۆمبێل کە ڕێگای دوکانەکە قەرەباڵغ دەبێت
Protocolپەیوەست بە The connection tables of servers, firewalls and load balancersخشتەکانی پەیوەندیی ، و ئامێرەکانی دابەشکردنی بارHundreds of people ring the shop's phone and never speak, so all lines are busyسەدان کەس تەلەفۆن بۆ دوکانەکە دەکەن و هەرگیز قسە ناکەن، بۆیە هەموو هێڵەکان گیراون
Applicationئاستی The server's work on expensive pages (search, login)کاری لەسەر پەڕە گرانەکان (گەڕان، )Hundreds of fake customers each ask the shopkeeper for a complicated price listسەدان کڕیاری ساختە هەریەکەیان داوای لیستێکی نرخی ئاڵۆز لە دوکاندارەکە دەکەن
Quick checkپشکنینی خێراAttackers open a huge number of half-finished connections that fill a firewall's connection table, although the Internet line itself is not full. Which kind of DDoS is this? ژمارەیەکی زۆر پەیوەندیی نیوەچڵ دەکەنەوە کە خشتەی پەیوەندییەکانی پڕ دەکەن، هەرچەندە خودی هێڵی پڕ نییە. ئەمە کام جۆری DDoSـە؟

DoS and DDoS: drowning a serviceڕێگەگرتن لە خزمەتگوزاری و DDoS: نوقمکردنی خزمەتگوزارییەک

Defending against DDoSبەرگری دژی DDoS

Defences are prepared before an attack: a DDoS protection service or a CDN that absorbs and filters floods far from your server; rate limiting (no single address may send more than a set number of requests); spare bandwidth, load balancing and backup servers; firewall rules and an IPS that drop known attack traffic; a CAPTCHA on pages that bots abuse; and a response plan with the provider's phone number. During an attack, confirm it is really an attack (not a busy day), call the provider and the ISP, keep the logs as evidence, tell users what is happening, and keep watching your other systems — CISA warns that a flood is sometimes a distraction for a second attack.

بەرگرییەکان پێش هێرش ئامادە دەکرێن: خزمەتگوزارییەکی پاراستنی DDoS یان کە لافاوەکان دوور لە هەڵدەمژێت و فلتەریان دەکات؛ (هیچ ناونیشانێک نابێت لە ژمارەیەکی دیاریکراو زیاتر داواکاری بنێرێت)؛ زیادە، دابەشکردنی بار و یەدەگ؛ یاساکانی و کە هاتوچۆی هێرشە ناسراوەکان فڕێ دەدەن؛ لەسەر ئەو پەڕانەی بۆتەکان خراپ بەکاریان دەهێنن؛ هەروەها پلانی وەڵامدانەوە لەگەڵ ژمارەی تەلەفۆنی دابینکەرەکە. لە کاتی هێرشدا، دڵنیا ببەرەوە کە بەڕاستی هێرشە (نەک ڕۆژێکی قەرەباڵغ)، پەیوەندی بە دابینکەرەکە و دابینکەری بکە، وەک بەڵگە بپارێزە و بە بەکارهێنەران بڵێ چی ڕوو دەدات. هەروەها چاودێریی سیستەمەکانی ترت بەردەوام بێت، چونکە CISA ئاگادار دەکاتەوە کە لافاوەکە هەندێک جار تەنها سەرقاڵکردنە بۆ هێرشێکی دووەم.

Quick checkپشکنینی خێراA university's results website goes down on results day. Traffic comes from 40,000 addresses in many countries, all asking for the search page. What is the best description and response? ئەنجامەکانی زانکۆیەک لە ڕۆژی ئەنجامەکاندا دەکەوێت. هاتوچۆکە لە ⁦40,000⁩ ناونیشانەوە لە زۆر وڵاتەوە دێت، هەموویان داوای پەڕەی گەڕان دەکەن. باشترین وەسف و وەڵام چییە؟

Man-in-the-middle: someone on the lineهێرشی کەسی ناوەڕاست: کەسێک لەسەر هێڵەکە

In a man-in-the-middle attack the attacker secretly sits between two sides — you and your bank, a laptop and the office — and passes their messages on, reading and perhaps changing them. You met the idea in Passive and active attacks. On a network it can happen when:

لە بە نهێنی لە نێوان دوو لایەندا دادەنیشێت — تۆ و بانکەکەت، و ئۆفیسەکە — و نامەکانیان دەگوازێتەوە، دەیانخوێنێتەوە و لەوانەیە بیانگۆڕێت. بیرۆکەکەت لە هێرشە ناچالاک و چالاکەکاندا بینی. لەسەر دەتوانێت ڕوو بدات کاتێک:

  • you join a fake Wi-Fi hotspot with a friendly name ("Free Airport WiFi") that the attacker controls;
  • a home or office router is hacked or still has its default password;
  • on a local network, a device lies about its address so that others send it their traffic (for example ARP spoofing; how ARP works is in DNS and ARP).
  • دەچیتە سەر ساختەی بە ناوێکی دۆستانە («⁦Free Airport WiFi⁩») کە کۆنترۆڵی دەکات؛
  • ماڵ یان ئۆفیس هاک کراوە یان هێشتا بەکار دەهێنێت؛
  • لەسەر ناوخۆیی، ئامێرێک درۆ دەربارەی ناونیشانەکەی دەکات بۆ ئەوەی ئەوانی تر هاتوچۆکەیان بۆ ئەو بنێرن (بۆ نموونە ؛ چۆن کار دەکات لە DNS و ARPدا ڕوون کراوەتەوە).
Quick checkپشکنینی خێراWhich situation can put an attacker between you and the websites you use?کام بارودۆخ دەتوانێت بخاتە نێوان تۆ و ئەو بەکاریان دەهێنیت؟

Man-in-the-middle: someone on the lineهێرشی کەسی ناوەڕاست: کەسێک لەسەر هێڵەکە

Stopping a man in the middleڕاگرتنی هێرشی کەسی ناوەڕاست

The strongest defence is encryption with checked identity: HTTPS (TLS) encrypts the conversation and the browser checks the website's certificate, so a middleman can neither read the data nor pretend to be the bank (see Certificates and TLS). Add a VPN on networks you do not trust, MFA or passkeys so that a stolen password is not enough, strong Wi-Fi security (WPA3) at home and work, and switches and IDS rules that detect address lies on the local network.

بەهێزترین بەرگری لەگەڵ ناسنامەی پشکنراوـە: () گفتوگۆکە شفرە دەکات و بڕوانامەی دەپشکنێت، بۆیە کەسی ناوەڕاست نە دەتوانێت بخوێنێتەوە و نە خۆی وەک بانکەکە نیشان بدات (بڕوانە بڕوانامەکان و TLS). لەسەر هەر کە متمانەت پێی نییە زیاد بکە، MFA یان بۆ ئەوەی دزراو بەس نەبێت، ئاسایشی بەهێزی ⁦(WPA3)⁩ لە ماڵ و کار، هەروەها و یاساکانی IDS کە درۆی ناونیشان لەسەر ناوخۆیی دەدۆزنەوە.

Quick checkپشکنینی خێراIn a café, Lana's laptop shows a certificate warning when she opens her university e-mail. What should she do?لە کافێیەکدا، لانا ئاگادارکردنەوەیەکی بڕوانامە پیشان دەدات کاتێک ئیمەیڵی زانکۆکەی دەکاتەوە. دەبێت چی بکات؟

How the layers work togetherچینەکان چۆن پێکەوە کار دەکەن

Each defence in this lesson stops some attacks and misses others. That is why they are used together:

هەر بەرگرییەکی ئەم وانەیە هەندێک هێرش ڕادەگرێت و هەندێکی تر لەدەست دەدات. بۆیە پێکەوە بەکار دەهێنرێن:

Defence in depth on the network لەسەر
DefenceبەرگریStops or showsڕادەگرێت یان پیشان دەداتDoes not stopڕاناگرێت
FirewallTraffic to ports and places that are not allowedهاتوچۆ بۆ ئەو و شوێنانەی ڕێگەپێنەدراونAttacks along allowed paths; logins with stolen passwordsهێرش بە ڕێگا ڕێگەپێدراوەکاندا؛ بە دزراو
IDS / IPSKnown attack patterns and unusual trafficشێوازی هێرشە ناسراوەکان و هاتوچۆی نائاساییBrand-new attacks with no pattern; encrypted traffic it cannot readهێرشی تەواو نوێ کە شێوازی نییە؛ هاتوچۆی شفرەکراو کە ناتوانێت بیخوێنێتەوە
SegmentationAn attacker or worm moving sidewaysجووڵەی یان بە لاداThe first break-in inside a zoneیەکەم دزەکردن لە ناو ناوچەیەکدا
VPNEavesdropping on untrusted networks لەسەر نامتمانەپێکراوPhishing, malware, a flaw in the VPN itself، ، لە خودی
Monitoring and SIEM و Unusual behaviour, even with valid passwordsڕەفتاری نائاسایی، تەنانەت بە دروستیشNothing by itself: someone must read and act on the alertsبە تەنها هیچ: کەسێک دەبێت ئاگادارکردنەوەکان بخوێنێتەوە و کاریان لەسەر بکات
DDoS protectionپاراستنی DDoSFloods against availabilityلافاو دژی Data theft and break-insدزینی و دزەکردن

Monitoring is only useful when people act on what it finds. Who reads the alerts, and what they do next, is the subject of the next two lessons: Incident response and Security operations centres.

تەنها کاتێک بەسوودە کە خەڵک کار لەسەر ئەوە بکەن کە دەیدۆزێتەوە. کێ ئاگادارکردنەوەکان دەخوێنێتەوە و دوای ئەوە چی دەکات، بابەتی دوو وانەی داهاتووە: وەڵامدانەوەی ڕووداو و ناوەندی کارەکانی ئاسایش.

Quick checkپشکنینی خێراAn attacker has a real employee's password and MFA code from a phishing site, and logs in through the VPN. Which layer has the best chance of noticing? و کۆدی MFAـی کارمەندێکی ڕاستەقینەی لە وەرگرتووە و بە دێتە ژوورەوە. کام چین باشترین دەرفەتی هەیە هەستی پێ بکات؟

Common mistakesهەڵە باوەکان

MistakeهەڵەWhy it is wrongبۆچی هەڵەیەDo this insteadلە جیاتی ئەوە ئەمە بکە
"We have a firewall, so we are secure."« هەیە، کەواتە سەلامەتین.»Many attacks use allowed paths or stolen passwordsزۆر هێرش ڕێگا ڕێگەپێدراوەکان یان دزراو بەکار دەهێننAdd segmentation, MFA, monitoring and patching، MFA، و زیاد بکە
An "allow any" rule added "just for testing" and forgottenیاسای «ڕێگە بە هەموو شتێک بدە» کە «تەنها بۆ تاقیکردنەوە» زیاد کراوە و لەبیر کراوەIt quietly opens the whole networkبە بێدەنگی هەموو دەکاتەوەReview firewall rules regularly; deny by defaultبە ڕێکوپێکی پێداچوونەوە بە یاساکانی بکە؛
Only filtering incoming trafficتەنها فلتەرکردنی هاتوچۆی هاتنە ژوورەوەMalware inside "calls home" and data leaves freely لە ناوەوە «پەیوەندی بە ماڵەوە دەکات» و بە ئازادی دەڕواتە دەرەوەFilter outbound traffic tooهاتوچۆی دەرچوونیش فلتەر بکە
A flat network where guests, staff and servers share one zone تەخت کە میوانان، کارمەندان و یەک ناوچە بەکار دەهێننOne infected phone can reach everythingیەک مۆبایلی تووشبوو دەتوانێت بگاتە هەموو شتێکSeparate zones with rules between themناوچەی جیاواز لەگەڵ یاسا لە نێوانیاندا
Collecting logs that nobody readsکۆکردنەوەی کە کەس نایخوێنێتەوەAttacks are recorded but not stoppedهێرشەکان تۆمار دەکرێن بەڵام ناوەستێنرێنTune alerts and give someone the job of answering themئاگادارکردنەوەکان ڕێک بخە و ئەرکی وەڵامدانەوەیان بدە بە کەسێک
Clicking through certificate warnings on public Wi-Fiپشتگوێخستنی ئاگادارکردنەوەی بڕوانامە لەسەر گشتیThat is how a man-in-the-middle succeeds بەم شێوەیە سەردەکەوێتStop, leave the network, use mobile data or a VPNبوەستە، لە دەربچۆ، مۆبایل یان بەکار بهێنە
Treating the VPN gateway as "just a tunnel"مامەڵەکردن لەگەڵ دەروازەی وەک «تەنها تونێلێک»It is an exposed device and a favourite targetئامێرێکی ئاشکرایە و ئامانجێکی دڵخوازەPatch it first, require MFA, remove old accountsیەکەم جار بکە، MFA داوا بکە، هەژمارە کۆنەکان لاببە

Exercisesڕاهێنانەکان

ExerciseڕاهێنانRead the rulesیاساکان بخوێنەوە

Use the rule table from Reading a rule table. For each packet say which rule decides and whether it passes: (a) a customer's browser to the web server on port 443; (b) a staff laptop to the database server on the database port; (c) a guest phone to the web server's admin page inside the office; (d) someone on the Internet to the database server on the database port.

خشتەی یاساکانی خوێندنەوەی خشتەی یاساکان بەکار بهێنە. بۆ هەر بڵێ کام یاسا بڕیار دەدات و ئایا تێدەپەڕێت: (أ) کڕیارێک بۆ لەسەر ⁦443⁩؛ (ب) کارمەندێک بۆ لەسەر ؛ (ج) مۆبایلی میوانێک بۆ پەڕەی بەڕێوەبردنی لە ناو ئۆفیسدا؛ (د) کەسێک لەسەر بۆ لەسەر .

Show answerوەڵامەکە پیشان بدە
  • (a) Rule 1 — allowed.
  • (b) Rule 2 — allowed.
  • (c) Rule 3 — blocked: guests may not reach any office server.
  • (d) Rule 4 — blocked by default: rule 2 allows only the staff network, so the Internet cannot reach the database.
  • (أ) یاسای 1 — ڕێگەی پێ دەدرێت.
  • (ب) یاسای 2 — ڕێگەی پێ دەدرێت.
  • (ج) یاسای 3 — ڕادەگیرێت: میوانان ناتوانن بگەنە هیچ ئۆفیس.
  • (د) یاسای 4 — بە بنەڕەت ڕادەگیرێت: یاسای 2 تەنها ڕێگە بە کارمەندان دەدات، بۆیە ناگاتە .
ExerciseڕاهێنانZones for a clinicناوچەکان بۆ نۆرینگەیەک

A clinic has: a public appointment website, reception PCs, doctors' laptops, a patient-records database, an old X-ray machine that cannot be updated, and free Wi-Fi for patients. Group them into zones and write two rules in plain words.

نۆرینگەیەک ئەمانەی هەیە: گشتیی کاتی سەردان، پێشوازی، پزیشکان، تۆماری نەخۆشان، ئامێرێکی کۆنی تیشکی X کە ناتوانرێت نوێ بکرێتەوە و بێبەرانبەر بۆ نەخۆشان. بیانخە ناو چەند ناوچەیەکەوە و دوو یاسا بە وشەی سادە بنووسە.

Show answerوەڵامەکە پیشان بدە

One good design: DMZ — the appointment website; staff zone — reception PCs and doctors' laptops; server zone — the patient-records database; device zone — the X-ray machine alone; guest zone — patient Wi-Fi, Internet only. Example rules: "The website may reach the records database only on the database port, for appointment data"; "Nothing may reach the X-ray machine except the one doctors' viewing station"; "Guest Wi-Fi may reach only the Internet".

دیزاینێکی باش: — کاتی سەردان؛ ناوچەی کارمەندان — پێشوازی و پزیشکان؛ ناوچەی — تۆماری نەخۆشان؛ ناوچەی ئامێر — تەنها ئامێری تیشکی X؛ ناوچەی میوانان — نەخۆشان، تەنها . نموونەی یاساکان: « تەنها لەسەر دەگاتە تۆمارەکان، بۆ کاتی سەردان»؛ «هیچ شتێک ناگاتە ئامێری تیشکی X جگە لە یەک وێستگەی بینینی پزیشکان»؛ « میوانان تەنها دەگاتە ».

ExerciseڕاهێنانAlarm or guard?زەنگ یان پاسەوان؟

For each case, choose IDS (alert only) or IPS (block), and give a reason: (a) a new, untested rule on a hospital network; (b) a well-known attack pattern against the public website that is always malicious; (c) a factory network where a wrong block could stop a production line.

بۆ هەر حاڵەتێک IDS (تەنها ئاگادارکردنەوە) یان IPS (ڕاگرتن) هەڵبژێرە و هۆکارێک بڵێ: (أ) یاسایەکی نوێی تاقینەکراوە لەسەر نەخۆشخانەیەک؛ (ب) شێوازێکی ناسراوی هێرش دژی گشتییەکە کە هەمیشە خراپەکارانەیە؛ (ج) کارگە کە ڕاگرتنێکی هەڵە دەتوانێت هێڵێکی بەرهەمهێنان ڕابگرێت.

Show answerوەڵامەکە پیشان بدە
  • (a) IDS first: false positives would only cost an analyst's time while the rule is tested.
  • (b) IPS: the pattern is certain and blocking it at once protects the site.
  • (c) Mostly IDS, with blocking only for very certain patterns: availability of the line is critical, so a wrong block is expensive.
  • (أ) سەرەتا IDS: تەنها کاتی شیکەرەوەیەک دەبەن لە کاتێکدا یاساکە تاقی دەکرێتەوە.
  • (ب) IPS: شێوازەکە دڵنیایە و ڕاگرتنی یەکسەری دەپارێزێت.
  • (ج) زۆرتر IDS. ڕاگرتن تەنها بۆ شێوازە زۆر دڵنیاکان: هێڵەکە گرنگە، بۆیە ڕاگرتنێکی هەڵە گرانە.
ExerciseڕاهێنانResults dayڕۆژی ئەنجامەکان

Your college publishes exam results online twice a year, and last year the site went down from a DDoS. Write a short plan: three things to prepare before results day and three things to do during an attack.

کۆلێژەکەت ساڵی دوو جار ئەنجامی تاقیکردنەوەکان ئۆنلاین بڵاو دەکاتەوە و ساڵی ڕابردوو بە DDoS کەوت. پلانێکی کورت بنووسە: سێ شت بۆ ئامادەکردن پێش ڕۆژی ئەنجامەکان و سێ شت بۆ کردن لە کاتی هێرشدا.

Show answerوەڵامەکە پیشان بدە

Before: put the results site behind a DDoS-protection service or CDN; add rate limiting and a CAPTCHA on the search page; agree a response plan with the ISP and provider, with phone numbers and who decides. Also consider a simple static results page that is cheap to serve. During: confirm it is an attack (traffic from many unusual sources, not just students); call the provider/ISP and switch on stronger filtering; keep the logs as evidence and post updates for students on another channel (for example the college's social media page).

پێش: ئەنجامەکان بخە پشت خزمەتگوزارییەکی پاراستنی DDoS یان ؛ و لەسەر پەڕەی گەڕان زیاد بکە؛ لەگەڵ دابینکەری و دابینکەری پاراستنەکە لەسەر پلانێکی وەڵامدانەوە ڕێک بکەوە، لەگەڵ ژمارەی تەلەفۆن و ئەوەی کێ بڕیار دەدات. هەروەها بیر لە پەڕەیەکی سادەی جێگیری ئەنجامەکان بکەرەوە کە پێشکەشکردنی هەرزانە. لە کاتی هێرشدا: دڵنیا ببەرەوە کە هێرشە (هاتوچۆ لە زۆر سەرچاوەی نائاساییەوە، نەک تەنها قوتابیان)؛ پەیوەندی بە دابینکەرەکەوە بکە و فلتەرکردنی بەهێزتر هەڵبکە؛ وەک بەڵگە بپارێزە و هەواڵی نوێ بۆ قوتابیان لە ڕێگایەکی ترەوە بڵاو بکەرەوە (بۆ نموونە پەڕەی کۆلێژەکە لەسەر ).

ExerciseڕاهێنانFrom the course notesلە تێبینییەکانی کۆرسەکەوە

(a) Give the two benefits of continuous monitoring named in the course. (b) Give the two purposes of network segmentation. (c) What does a SIEM tool do, in two sentences?

(أ) ئەو دوو سوودەی بەردەوام بنووسە کە کۆرسەکە ناویان دەبات. (ب) دوو ئامانجی بنووسە. (ج) ئامرازی چی دەکات، بە دوو ڕستە؟

Show answerوەڵامەکە پیشان بدە
  • (a) Real-time visibility into system activity, so threats are detected and answered promptly; proactive threat detection before significant damage.
  • (b) Isolation of sensitive systems and data from less secure areas, limiting a breach (a smaller attack surface); better control and visibility of traffic.
  • (c) It collects and analyses security data from many sources to detect suspicious activity. It raises alerts and can trigger automated response actions (often through SOAR) based on predefined rules.
  • (أ) بینینی ڕاستەوخۆی چالاکیی سیستەمەکان، بۆ ئەوەی بە خێرایی بدۆزرێنەوە و وەڵام بدرێنەوە؛ دۆزینەوەی پێشوەختەی پێش زیانی گەورە.
  • (ب) جیاکردنەوەی سیستەم و هەستیارەکان لە ناوچە کەمتر پارێزراوەکان بۆ سنووردارکردنی دزەکردن ( بچووکتر)؛ کۆنترۆڵ و بینینی باشتری هاتوچۆ.
  • (ج) ئاسایش لە زۆر سەرچاوەوە کۆ دەکاتەوە و شیکاریی بۆ دەکات بۆ دۆزینەوەی چالاکیی گوماناوی. ئاگادار دەکاتەوە و دەتوانێت بەپێی یاسای پێشوەختە هەنگاوی وەڵامدانەوەی خۆکار بنێت (زۆرجار لە ڕێگەی ).

Summaryپوختە

  • A firewall allows or blocks traffic by rules, top to bottom, with deny by default in both directions. Kinds: packet filter, stateful, next-generation, WAF, host firewall.
  • An IDS watches and alerts; an IPS sits in the path and blocks. Signatures catch known attacks; anomaly detection catches new ones with more false positives.
  • Segmentation splits the network into zones (DMZ, staff, servers, guests): it isolates breaches and gives control and visibility.
  • A VPN encrypts traffic across untrusted networks, but its gateway is an exposed door: patch it first and require MFA.
  • Continuous monitoring gives real-time visibility and early detection; a SIEM collects, correlates and alerts, and SOAR can act automatically.
  • DoS/DDoS floods attack availability (volumetric, protocol, application); man-in-the-middle attacks are stopped by TLS with checked certificates, VPNs on untrusted Wi-Fi and never ignoring certificate warnings.
  • بەپێی یاسا، لە سەرەوە بۆ خوارەوە، ڕێگە بە هاتوچۆ دەدات یان ڕایدەگرێت، لەگەڵ لە هەردوو ئاراستەدا. جۆرەکان: ، ، ، ، سەر ئامێر.
  • IDS چاودێری دەکات و ئاگادار دەکاتەوە؛ IPS لە ناو ڕێگاکەدایە و ڕادەگرێت. واژووەکان هێرشە ناسراوەکان دەگرن؛ هێرشە نوێیەکان دەگرێت بەڵام زیاترە.
  • دابەش دەکات بۆ چەند ناوچەیەک (، کارمەندان، ، میوانان): دزەکردن جیا دەکاتەوە و کۆنترۆڵ و بینین دەدات.
  • هاتوچۆ بە ناو نامتمانەپێکراودا شفرە دەکات، بەڵام دەروازەکەی دەرگایەکی ئاشکرایە: یەکەم جار بکە و MFA داوا بکە.
  • بەردەوام بینینی ڕاستەوخۆ و دۆزینەوەی زوو دەدات؛ کۆ دەکاتەوە، دەیانبەستێتەوە بە یەکەوە و ئاگادار دەکاتەوە و دەتوانێت بە شێوەی خۆکار کار بکات.
  • لافاوەکانی /DDoS هێرش دەکەنە سەر (قەبارەیی، ، )؛ بە لەگەڵ بڕوانامەی پشکنراو، لەسەر نامتمانەپێکراو و هەرگیز پشتگوێنەخستنی ئاگادارکردنەوەی بڕوانامە ڕادەگیرێت.
Review questionsپرسیارەکانی پێداچوونەوە
Why should the last firewall rule be "deny everything"?بۆچی دەبێت دوا یاسای ئاگرەدیوار «هەموو شتێک ڕابگرە» بێت؟

So that anything nobody thought about is blocked automatically. Only traffic that was expressly allowed can pass.

بۆ ئەوەی هەر شتێک کە کەس بیری لێ نەکردبێتەوە بە شێوەی خۆکار ڕابگیرێت. تەنها ئەو هاتوچۆیەی بە ئاشکرا ڕێگەی پێ دراوە دەتوانێت تێپەڕێت.

What is the main difference between an IDS and an IPS?جیاوازیی سەرەکیی نێوان IDS و IPS چییە؟

An IDS only detects and alerts; an IPS sits inline and can block traffic, so its false positives can block real users.

IDS تەنها دەدۆزێتەوە و ئاگادار دەکاتەوە؛ IPS لە ناو ڕێگاکەدایە و دەتوانێت هاتوچۆ ڕابگرێت، بۆیە دەتوانن بەکارهێنەرە ڕاستەقینەکان ڕابگرن.

Why is blocking one IP address useless against a DDoS?بۆچی ڕاگرتنی یەک ناونیشانی IP دژی DDoS بێسوودە؟

Because the traffic comes from thousands of devices in a botnet at once; filtering and absorbing the flood (DDoS protection, CDN, rate limiting) is needed.

چونکە هاتوچۆکە لە هەزاران ئامێری پێکەوە دێت؛ فلتەرکردن و هەڵمژینی لافاوەکە (پاراستنی DDoS، ، ) پێویستە.

Lesson complete!وانەکە تەواو بوو!

Well done. Review the key terms, then go on to the next lesson.دەستخۆش. سەیرێکی زاراوە سەرەکییەکان بکەرەوە، پاشان بڕۆ بۆ وانەی داهاتوو.

Key termsزاراوە سەرەکییەکان

Next lessonوانەی داهاتوو

Incident Response: Six Phasesوەڵامدانەوەی ڕووداو: شەش قۆناغ

Related lecturesوانە پەیوەندیدارەکان

References and further readingسەرچاوەکان و خوێندنەوەی زیاتر

This lecture is a first edition. The Kurdish text and terminology are waiting for review by Kurdish IT teachers.ئەم وانەیە چاپی یەکەمە. دەقە کوردییەکە و زاراوەکانی چاوەڕێی پێداچوونەوەی مامۆستایانی کوردی بواری IT ن.