AlpacaHack Logo
Sign InSign Up
Daily AlpacaHack

A CTF challenge series with fun puzzles to enjoy every day

What is Daily AlpacaHack?

We regularly publish simple, beginner-friendly or educational CTF challenges!

Join Anytime

Solve each challenge within its time window to appear on the leaderboard.

Not a Competition

Discussion with friends or AI is welcome (account sharing is prohibited).

Solution Sharing Rules

Sharing solutions is allowed only after the challenge period has ended.

Solve stats

0

/9

No solved challenges yet.

Sign In to view your player stats

Today's Challenge
pppp4649pppp4649
Σecret
Crypto
Easy🌱
30 solves
Submissions (latest 3)
lumma

SOLVED!

Oct 24, 5:19 AM

pppp4649

SOLVED!

Oct 23, 3:10 PM

Leaderboard

Try the first challenge

Is this your first CTF? Let's begin by tackling the first challenge released on Daily AlpacaHack.

View challenge
admin
AlpacaHack 2100
Misc
Welcome🌱
2,300 solves
Upcoming challenges reveal the , , and in advance.
Prev

Oct 2026

Next
Solved
Unsolved
Upcoming
Mon
Tue
Wed
Thu
Fri
Sat
Sun
 
k0080k0080
what is my pointer 2
Pwn
Hard
47 solves
1
admin
Baby Alpaca
Misc
Welcome🌱
154 solves
2
tan90909090tan90909090
C# File-based app
Rev
Easy🌱
76 solves
3-4
2501
Shared Prime
Crypto
Medium
87 solves
5-8
tan90909090tan90909090
fsbase modification
Pwn
Hard
59 solves
9-12
2501
Almost Shared Prime
Crypto
Hard
44 solves
 
2501
Almost Shared Prime
Crypto
Hard
44 solves
13-14
tan90909090tan90909090
cowsay jail
Misc
Medium
60 solves
15-18
hiikunzhiikunz
decreasing
Misc
Hard
34 solves
19-22
tan90909090tan90909090
x32 ABI flag checker
Rev
Hard
30 solves
23-24
pppp4649pppp4649
Σecret
Crypto
Easy🌱
30 solves
25
Coming soon
26
Coming soon
27
Coming soon
28
Coming soon
29
Coming soon
30
Coming soon
31
Coming soon
1
Coming soon

Want a harder challenge?

Go to B-SIDE

Writeups

tadanobutubutu

Writeup for x32 ABI flag checker

tadanobutubutu

ja
x32 ABI flag checker

19 hours ago

ojun

Writeup for fsbase modification

ja

2026/10/15 13:59

tadanobutubutu

Writeup for cowsay jail

ja

2026/10/15 08:42

tadanobutubutu

Writeup for Almost Shared Prime

Rows:

permission denied

Topic: File PermissionReleased: Apr 29, 2026

85 solves
Misc
Hard5.5

by

minaminao

minaminao

cat: flag.txt: Permission denied

Beginner Hint 1 (AI-translated)
  • If you connect with nc, you will see that a shell starts up.
  • If you read chal.sh, you can see that flag.txt is created before the shell starts.
  • After that, the permissions of flag.txt are set to 400.
  • These commands are executed by the root user.
  • So 400 means that only the root user can read the file.
  • Then runuser -u nobody -- sh starts a shell as the nobody user.
  • However, if you run cat flag.txt, you get Permission denied, so you cannot read the flag.
  • So how can you read the flag?
Beginner Hint 2 (AI-translated)
  • This is a more meta hint, but why does chal.sh bother setting the permissions of flag.txt in the first place?
  • The permissions of chal.sh are specified in the Dockerfile.
  • In the same way, it should also be possible to set the permissions of flag.txt in the Dockerfile.
  • Think about what behavioral difference is created between setting permissions in the Dockerfile and setting them later in chal.sh.
permission-denied.tar.gz

Please sign in to submit the flag.

descriptionsolveswriteups