SW-02 // FORTIOS_7.4_HARDENING_ENGINE
|
RETURN TO CORE: ← yukaruc.tech
⚠️ CVE-2024-21762 (FortiOS SSL-VPN RCE) - CVSS: 9.6 // MIGRATE TO IPSEC IKEv2
00:00:00 TSİ
SW-02-TOOLS // FORTIGATE CONFIGURATION AUDITOR
VLAN 20 // SECOPS FORTIOS 7.4 DOCS & CIS

FortiOS 7.4 Hardening, Zaafiyet & NPU Analiz Motoru

FortiGate .conf dosyanızı yükleyin; Best Practices, SSL-VPN → IPsec Göçü, Hardware Acceleration (NP7/SPU), CLI Cheat Sheet ve PSIRT CVE kontrollerini anında raporlayın.

40G EDGE
> SW-02 // ADMIN CONSOLE :: FORTIOS 7.4 HARDENING & VULNERABILITY AUDITOR
sw02-tools(fortios-audit)# diagnose fortigate-config --version=7.4 --profile=hardening-npu-psirt
📂 FortiGate Konfigürasyon (.conf) Dosyasını Buraya Sürükleyin veya Seçin

Dosyanız sunucu diske kaydedilmez; Cloudflare Edge Worker belleğinde (RAM) incelenip anında silinir.

Hızlı Test Şablonları:
TERMINAL // fortios-hardening-audit.sh --telemetry
[SYSTEM_READY] Waiting for FortiOS .conf stream...
> Supported Benchmarks : FortiOS 7.4 Admin Guide, Best Practices, CIS Benchmark, PSIRT Advisories
> Hardware Offload     : NP7 / NP6 / CP9 / SPU Fast-Path Inspection Ready
> VPN Migration Check  : SSL-VPN to IPsec IKEv2 Dial-up Readiness Ready
> Upload a .conf file or click a sample preset above to start analysis.
sw02-tools(remediation)# show hardening-remediation-script --all

>_ Lütfen önce "01. Konfigürasyon Analizi" sekmesinden bir FortiGate .conf dosyası yükleyin.

sw02-tools(cli-cheatsheet)# show fortios-7.4-troubleshooting-commands --interactive
// 01. SİSTEM, PERFORMANS, CPU/RAM VE CRASHLOG ANALİZİ
get system status
get system performance status
diagnose sys top 2 20
diagnose sys top-mem 20
diagnose debug crashlog read
execute tac report
// 02. PAKET AKIŞ ANALİZİ (DEBUG FLOW) & CANLI SNIFFER (TCPDUMP)
diagnose debug reset
diagnose debug flow filter addr <Hedef_IP>
diagnose debug flow show function-name enable
diagnose debug flow show iprope enable
diagnose debug flow trace start 100
diagnose debug enable

# Canlı Paket Yakalama (Sniffer - Verbose Level 4 + Interface Name):
diagnose sniffer packet any "host <IP> and port 443" 4 0 l
// 03. HARDWARE ACCELERATION (NP7 / NP6 / SPU OFFLOAD) & SESSION TABLOSU
diagnose sys session stat
diagnose sys session filter dst <Hedef_IP>
diagnose sys session list | grep -E "npu|no_ofld_reason"
diagnose npu np7 pdq
diagnose npu np7 dce-drop-all
get hardware npu np6 port-list
// 04. IPSEC IKEv2 & SSL-VPN TEŞHİS KOMUTLARI
get vpn ipsec tunnel summary
diagnose vpn ike gateway list
diagnose vpn tunnel list
diagnose debug application ike -1
diagnose debug application sslvpn -1
diagnose debug application fnbamd -1
diagnose debug enable
// 05. ROUTING, BGP, OSPF & SD-WAN HEALTH-CHECK
get router info routing-table all
get router info routing-table details <IP_Adresi>
get router info bgp summary
get router info ospf neighbor
diagnose sys sdwan health-check
diagnose sys sdwan service4
diagnose ip arp list
sw02-tools(vpn-migration)# cat /docs/fortios-7.4/sslvpn-to-ipsec-ikev2-migration.md
[NEDEN GÖÇ EDİLMELİ?] FORTIOS 7.4+ SSL-VPN DEPRECATION & PSIRT RİSKLERİ

Fortinet, FortiOS 7.4 "SSL VPN to IPsec VPN Migration" rehberi doğrultusunda uzaktan erişim mimarisinde SSL-VPN yerine IPsec IKEv2 Dial-up VPN kullanımını standart haline getirmiştir. IPsec IKEv2; NP7/NP6 çipleriyle tam donanım hızlandırması (SPU Offload) sunar ve FortiOS 7.4 ile gelen TCP Port 443 Kapsüllemesi (transport udp-fallback-tcp) sayesinde kısıtlı misafir/otel ağlarında bile kesintisiz çalışır.

# FortiOS 7.4 Örnek IPsec IKEv2 Dial-Up (TCP 443 Fallback Destekli) Konfigürasyonu:
config vpn ipsec phase1-interface
    edit "IKEv2_Dialup_Corporate"
        set type dynamic
        set interface "wan1"
        set ike-version 2
        set peertype any
        set net-device disable
        set mode-cfg enable
        set proposal aes256gcm-prfsha384 aes256-sha256
        set dhgrp 20 19 14
        set eap enable
        set eap-identity send-request
        set transport udp-fallback-tcp
        set ipv4-start-ip 10.212.134.10
        set ipv4-end-ip 10.212.134.200
        set ipv4-netmask 255.255.255.0
        set dns-mode auto
        set dpd on-idle
    next
end

config vpn ipsec phase2-interface
    edit "IKEv2_Dialup_Corporate_P2"
        set phase1name "IKEv2_Dialup_Corporate"
        set proposal aes256gcm aes256-sha256
        set pfs enable
        set dhgrp 20 19 14
    next
end