Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Enhancing Security with Cloud-based API Management: Best Practices and Implementation
KTH, School of Electrical Engineering and Computer Science (EECS).
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Förbättrad säkerhet med molnbaserad API-hantering : Bästa praxis och implementering (Swedish)
Abstract [en]

In the context of digital transformation, Application Programming Interfaces (APIs) have become fundamental to software integration and interaction. Despite their numerous advantages, APIs present significant security challenges. Therefore, this thesis focuses on the Azure platform to establish a robust API management (APIM) system that addresses security vulnerabilities by implementing the best possible practices. The study begins by identifying common security threats specific to APIs, followed by evaluating security practices against these threats. Additionally, threat modeling has also been conducted to systematically identify and categorize potential security threats within the existing External APIM architecture. To mitigate the identified vulnerabilities, a series of enhanced security practices is proposed and implemented, such as strict CORS policies, rate limiting both at the API Gateway and Application Gateway levels, and the integration of Web Application Firewall. The implementation of these security practices for the External APIM is validated through a detailed analysis of their effectiveness. More than 32,000 malicious requests are blocked, almost 230,000 false positive requests are handled, and two malicious IP addresses are detected. Hence, the results indicate a significant improvement in the security posture of the company's APIM system. The findings underscore the importance of adopting a centralized approach to API security, which can be crucial for organizations looking to protect their digital assets and maintain trust with their users in an increasingly interconnected world.

Abstract [sv]

Inom ramen för digital transformation har Application Programming Interfaces (APIs) blivit grundläggande för programvaruintegration och interaktion. Trots deras många fördelar medför API betydande säkerhetsutmaningar. Därför fokuserar denna avhandling på Azure-plattformen för att etablera ett robust API-hanteringssystem (APIM) som adresserar säkerhetsbrister genom att implementera bästa möjliga praxis. Studien börjar med att identifiera vanliga säkerhetshot specifika för API, följt av att utvärdera säkerhetsmetoder mot dessa hot. Dessutom har hotmodellering genomförts för att systematiskt identifiera och kategorisera potentiella säkerhetshot inom den befintliga Extern APIM-arkitekturen. För att mildra de identifierade sårbarheterna föreslås och implementeras en serie förbättrade säkerhetsmetoder, såsom strikta CORS-policyer, hastighetsbegränsning både på API Gateway- och Application Gateway-nivå, samt integration av Web Application Firewall. Implementeringen av dessa säkerhetsmetoder för Extern APIM valideras genom en detaljerad analys av deras effektivitet. Mer än 32 000 skadliga förfrågningar blockeras, nästan 230 000 falska positiva förfrågningar hanteras, och två skadliga IP-adresser upptäcks. Resultaten visar således en betydande förbättring av säkerhetsläget för företagets APIM-system. Resultaten understryker vikten av att anta ett centraliserat tillvägagångssätt för API-säkerhet, vilket kan vara avgörande för organisationer som vill skydda sina digitala tillgångar och bibehålla förtroendet hos sina användare i en alltmer sammankopplad värld.

Place, publisher, year, edition, pages
Stockholm: KTH Royal Institute of Technology , 2024. , p. 83
Series
TRITA-EECS-EX ; 2024:638
Keywords [en]
API, API Security, API Management, Web Application Firewall, Vulnerability, Threat Modeling, Cybersecurity
Keywords [sv]
API, API-säkerhet, API-hantering, Webbapplikationsbrandvägg, Sårbarhet, Hotmodellering, Cybersäkerhet
National Category
Computer Sciences Computer Engineering
Identifiers
URN: urn:nbn:se:kth:diva-354439OAI: oai:DiVA.org:kth-354439DiVA, id: diva2:1903654
External cooperation
Wärtsilä Oyj Abp
Presentation
2024-06-28, via Zoom https://kth-se.zoom.us/j/61789141337, Isafjordsgatan 22 (Kistagången 16), Stockholm, 11:00 (English)
Supervisors
Examiners
Available from: 2024-10-16 Created: 2024-10-05 Last updated: 2024-10-16Bibliographically approved

Open Access in DiVA

fulltext(1252 kB)887 downloads
File information
File name FULLTEXT01.pdfFile size 1252 kBChecksum SHA-512
a2a84cd7a55e1e5462f3b37e9903a7f0321771db835b4bbd18a2bd86e099d84fc44c3c598cd5fb9be3a0357d3e5ee143cda2f1cdac6456bcaae42ed39a508429
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer SciencesComputer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 887 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 790 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf